prograchallenges | Cryptocurrency

Telegram-канал prograchallenges - Programming Challenges - How to be a breathtaking Programmer

15690

I will make you the best Programmer you can be! Group of the best friends you can have: https://t.me/joinchat/EXSmZ0dDYKpcZWcLQQH-zw Challenge ideas: @BinaryByter Youtube: https://www.youtube.com/channel/UCE_XffNtPkEXej9iDW4f0sw

Subscribe to a channel

Programming Challenges - How to be a breathtaking Programmer

REVERSE INTEGER
+========+
Time: 15 minutes
Difficulty: Easy
Languages: Any
+========+
Given a 32-bit signed integer, implement a function to reverse digits of an integer.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

REVERSE A STRING
+========+
Time: 15 minutes
Difficulty: Easy
Languages: Any
+========+
Implement a function that takes in a string and returns the reversed version of the string.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

BINARY SEARCH
+========+
Time: 30 minutes - 1 hour
Difficulty: Medium
Languages: Any
+========+
Implement a function that performs a binary search on a sorted list of integers and returns the index of the target value if found, or -1 if not found.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

FINDING PAIRS
+========+
Time: 30 minutes - 1 hour
Difficulty: Medium
Languages: Any
+========+
Given a list of integers and a target number, implement a function that finds all pairs of integers in the list that add up to the target number.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

ROTATING ARRAY
+========+
Time: 30 minutes - 1 hour
Difficulty: Easy
Languages: Any
+========+
Given an array and a number k, implement a function that rotates the array to the right by k positions. Your solution should not use any inbuilt array rotation functions.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Message from a friend of mine (in reality, my menthor!) who is an instructor for programmers:

"Hello, I am opening a free workshop on problem solving for programmers aimed at beginners to intermediate developers in terms of skill.

The workshop parallel goal is to test a new textbook which will be provided under a non-disclosure agreement. Only residents of the European Union or citizens of a country from the European Union or Switzerland can apply for that reason.

The workshop will be held on Saturday September 3rd 2022 from 14:00 CET to 18:00 CET. You can apply via the link below, I will however only approve of up to 5 applicants. Thank you in advance!

https://cloud.nekoit.xyz/apps/forms/oceZ27KdNE8CsrJK"

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

TOURNAMENT STARTS!

Join now: https://lichess.org/tournament/hjJRxA3I

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

C programming course session

On of our most experienced channel members (@QNeko) will be giving a comprehensive course on C programming for beginners. The course will teach you the basics of programming in C. It serves as a foundation to then learn system programming and embedded programming in C.

The course costs $32.5 per month over 3 months (one day per week, 13 days total) or $97.5 in total. It covers the following:

Basics
* Functions
* Types
* Expressions
* Pointers
* Control-flow
* Macros

Styles
* Procedural programming
* OOP

Compilers and friends
* Unix
* Make
* GCC and options
* Linker and options

Courses will be on Saturdays, 7:00AM UTC to 11:00AM UTC and 12:30PM UTC to 03:30PM UTC, starting on May 21rst 2022.

https://cloud.nekoit.xyz/apps/forms/YBt5F4gz4RS5Qmbx

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

TALENTRATOR's NEW LOOK. Which one do you prefer?

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

This is mainly about the interface, not about the design or the questions

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Datastructures
+=============+
Time: 1 Hour
Difficulty: easy
Languages: C++, C# (or any other, really)
+=============+
Implement a queue that can be used for any datatype.

+=========+
Please answer to this message with your solution :)
Got a challenge Idea? DM it to @BinaryByter for a chance to be featured on this channel!

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Pattern converter
+==========+
Take in an image and convert it to ascii art. Bonus points if you can add color!

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

SUM ARRAY
+========+
Calculate the sum of numbers in an array of numbers

+========+
This is the first working example of a challenge on prograchallenges.com. Please give us feedback! :)

https://prograchallenges.com/challenge/sum-array

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Lambda
+====+
What is the output of this code?

#include <iostream>
int main () {
auto a = [] () {
std::cout << "a" << "b" << "abc";
}
}

[nothing]
[a]
[ab]
[abc]
[ababc]

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Your help for prograchallenges.com
+===========================+
In order to build an amazing website for you, we need to understand your needs! Please support our open source project to strengthen to community by answering this simple, anonymous, fun and quick survey: https://surveyheart.com/form/61b07c591ca6e536ec4d2601

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

PRINT ALL PATHS
+========+
Time: 1 hour - 2 hours
Difficulty: Medium
Languages: Any
+========+
Given a directed graph and a source vertex, implement a function that prints all the paths from source vertex to every other vertex in the graph.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

TREE TRAVERSAL
+========+
Time: 1 hour - 2 hours
Difficulty: Medium
Languages: Any
+========+
Given the root of a binary tree, implement functions to perform pre-order, in-order, and post-order traversal of the tree and return a list of the visited nodes.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

CHECK PRIME NUMBER
+========+
Time: 15 minutes
Difficulty: Easy
Languages: Any
+========+
Implement a function that takes in a positive integer and returns a boolean indicating whether or not the number is prime.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

LONGEST COMMON PREFIX
+========+
Time: 30 minutes - 1 hour
Difficulty: Medium
Languages: Any
+========+
Given a list of strings, implement a function that finds the longest common prefix among all the strings. Your solution should have a linear time complexity.
+========+
Please answer to this message with your solution :)

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

COUNTING SORT
+========+
Time: 30 minutes - 1 hour
Difficulty: Medium
Languages: Any
+========+
Implement a counting sort function that takes in a list of integers and returns a sorted list in ascending order. Your solution should not use any inbuilt sorting functions.
+========+
Please answer to this message with your solution 🙂

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Hi dev colleagues!
I’d love to hear your feedback on my latest project. This should helps us developers to better focus through blocking digital distractions! It already helped me to reduce multitasking in stressful times. It works like this:
https://youtu.be/58qNJcx4NrQ

What do you think? You can send me your feedback in DM.

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Chess-Tournament
+==============+
Well... Looks like I don't have a choice 😉

The tournament will start 8:00PM UTC-2, today.

Join here: https://lichess.org/tournament/hjJRxA3I

Can't wait to figure out who the winner is 😏

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

CODES
+======+

Each person in Italy has an unique identifying ID code issued by the national tax office after the birth registration: the Fiscal Code (Codice Fiscale). Check the Resources tab for more info on this.

Given an object containing the personal data of a person (name, surname, gender and date of birth) return the 11 code characters as a string following these steps:

Generate 3 capital letters from the surname, if it has:
At least 3 consonants then the first three consonants are used. (Newman -> NWM).
Less than 3 consonants then vowels will replace missing characters in the same order they appear (Fox -> FXO | Hope -> HPO).
Less than three letters then "X" will take the third slot after the consonant and the vowel (Yu -> YUX).

Generate 3 capital letters from the name, if it has:
Exactly 3 consonants then consonants are used in the order they appear (Matt -> MTT).
More than 3 consonants then first, third and fourth consonant are used (Samantha -> SNT | Thomas -> TMS).
Less than 3 consonants then vowels will replace missing characters in the same order they appear (Bob -> BBO | Paula -> PLA).
Less than three letters then "X" will take the the third slot after the consonant and the vowel (Al -> LAX).

Generate 2 numbers, 1 letter and 2 numbers from date of birth and gender:
Take the last two digits of the year of birth (1985 -> 85).
Generate a letter corresponding to the month of birth (January -> A | December -> T) using the table for conversion included in the code.
For males take the day of birth adding one zero at the start if is less than 10 (any 9th day -> 09 | any 20th day -> 20).
For females take the day of birth and sum 40 to it (any 9th day -> 49 | any 20th day -> 60).

EXAMPLE:


fiscalCode({
name: "Helen",
surname: "Yu",
gender: "F",
dob: "1/12/1950"
}) ➞ "YUXHLN50T41"

fiscalCode({
name: "Mickey",
surname: "Mouse",
gender: "M",
dob: "16/1/1928"
}) ➞ "MSOMKY28A16"

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

FACTORY
+=======+
Calculate the factorial of a given number.
You can either implement it recursively or iteratively!
+==========+
Please answer to this message with your solution :)
Got a challenge Idea? DM it to @BinaryByter for a chance to be featured on this channel!

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

https://quick-questions-prototype--pr1-ft-swipe-rm0qae48.web.app/

Do you guys have any opinions on this prototype for a multiple-choice format for prograchallenges.com?

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Count digits
+=====+

Without using any built-in function like (toString(), split(), splice().... etc);
Write the best way to count the number of digits of any number, including negative numbers.
+===========+
For an additional challenge Include floats as well.

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Write down a Python program in order to:
Read a positive integer number n.
• Print out a proper message according to the fact that it is an odd or an even value.

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Feedback!
+======+
Hey Everybody! I need your help - We are shaping the future of prograchallenges.com!

We want to have some ways to learn programming that are super quick to do! I was thinking of flashcards that you can easily click through to learn some new concepts in 2 minutes.

What is your opinion on how to make them? What would you love to see? The more you tell us, the more you help us!

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

Binary loop
____
Write a function that takes a binary number as an input and shifts each bit by one to the right or left while looping on itself like a circle.
Make a delay of one second between each shift.

Example:
Input : 00101100

Output: (shifting to the right)
First loop: 00010110
Second loop: 00001011
Third loop: 10000101

Читать полностью…

Programming Challenges - How to be a breathtaking Programmer

SPEED
+====+
If the lowest speed of a car was written as (50) instead of zero and the highest speed (250) instead of (200) then how can we know what speed we are at if the speedometer reads, for example, 100?
_________
Write a program that takes two arrays of length 2 each, and a number to be converted based on the inputted arrays. The first array is like the scale, the second array is what should be converted based on the first array, and the third argument is the number to be converted.

example:
function([1,100], [50,150], 60) //output => 10

function([1,100], [50,150], 80) //output => 30

Читать полностью…
Subscribe to a channel