bootg.com »
United States »
Programming Challenges - How to be a breathtaking Programmer » Telegram Web
FIBONACCI
Challenge #1, Difficulty #1 (beginner-friendly)
Suggested language: Java, C++, Python
Languages you shouldnt use: Assembler :P
Challenge #1, Difficulty #1 (beginner-friendly)
Suggested language: Java, C++, Python
Languages you shouldnt use: Assembler :P
void task() {
Take two integers as input by the user.
Now calculate atleast 10 iterations of the Fibonacci-sequence with the two integers as starting point.
Output those calculations.
if (skill > difficulty) {
extraTask();
}
if (skill < difficulty) {
callHelp();
}
}
void extraTask () {
1) ask the user how many iterations of the Fibonacci sequence the program should calculate
2) If one number in the sequence is divisible by x (let the user input that too), output "FIZZ" instead of it
}
void callHelp () {
The members at our Challenge solvers Group will surely be inclined to help you.
You can also PM me if you want some help.
}
LONG-TERM CHALLENGE #1
LANGUAGE:
I dont care, as long as I can run it on my Linux x64 machine
The first one to put up a working solution to this will get his name written onto the hall of Fame of the Channel.
Fingers crossed ;)
LANGUAGE:
I dont care, as long as I can run it on my Linux x64 machine
The first one to put up a working solution to this will get his name written onto the hall of Fame of the Channel.
Fingers crossed ;)
void task() {
/* In the end, you will have a basic code interpreter */
1) The program should take a file as input
2) The program should parse trough the text and create an array of different tokens;
/*
input: 'print ("Hello");'
Output:
command| arguments |
--------------------
print | ( | " | Hello | " | ) | ;
*/
3) The program should parse trough the array full of tokens and output things to the console accordingly
minimalRequirements ();
if (skill > difficulty) {
additionalFeatures();
}
}
void minimalRequirements() {
1) Input output
2) Jumping points (kinda like goto)
3) variables
}
void additionalFeatures () { /* your name will get marked differently if you solve this too */
1) loops
2) If-statements
3) functions
4) custom data types (classes or structs)
5) Input output for Files
}
ASCII-ART!
CHALLENGE #2 Difficulty: familiar
Language: Any Console based language
Make a program that converts a text into ASCII-Art.
Pay attention: Line breaks and correct text-spacing is tricky :P
CHALLENGE #2 Difficulty: familiar
Language: Any Console based language
Make a program that converts a text into ASCII-Art.
Pay attention: Line breaks and correct text-spacing is tricky :P
CIRCLES
Difficulty: Mathsy but easy
You are given two points, that have a radius around them on the screen.
Are they touching or not?
TASKS:
1) Write such a circle class
2) Write a function that looks wether they are touching or not.
RULES: Dont use ANY type of libraries
Bonus points if you manage to render those circles without any graphics library
Difficulty: Mathsy but easy
You are given two points, that have a radius around them on the screen.
Are they touching or not?
TASKS:
1) Write such a circle class
2) Write a function that looks wether they are touching or not.
RULES: Dont use ANY type of libraries
Bonus points if you manage to render those circles without any graphics library
Flood fill
Difficulty: pretty easy
Remember MS paint and its fill tool? It filled everything that was white inside a limited area.
The algorythm it used was called "flood-fill". Try to implement that without looking at the internet.
Little tip: its a recursive algorythm!
IF THIS WAS TOO EASY:
Try to implement it without using recursion!
Difficulty: pretty easy
Remember MS paint and its fill tool? It filled everything that was white inside a limited area.
The algorythm it used was called "flood-fill". Try to implement that without looking at the internet.
Little tip: its a recursive algorythm!
IF THIS WAS TOO EASY:
Try to implement it without using recursion!
CHALLENGE: f'(x)!!!
Difficulty: mathsy, mathsy, mathsy
Say you have a function f(x)
Program a program that calculates f'(x)
there are two ways of doing so
1) parse the elements and change them after the rules
2) calculate it yourself by going through small pieces of your curve.
FUNCTIONS FOR TESTING:
g(x) = x²
h(x) = 2*2*x*43/213
i(x) = x^1/2
Difficulty: mathsy, mathsy, mathsy
Say you have a function f(x)
Program a program that calculates f'(x)
there are two ways of doing so
1) parse the elements and change them after the rules
2) calculate it yourself by going through small pieces of your curve.
FUNCTIONS FOR TESTING:
g(x) = x²
h(x) = 2*2*x*43/213
i(x) = x^1/2
CHALLENGE: Langtons ants.
1) Google what they are
2) Simulate them
3) Invent additional rules and analyze their patterns
1) Google what they are
2) Simulate them
3) Invent additional rules and analyze their patterns
Challenge:
Maze generator: write an algorythm that procedurally generates mazes
Maze generator: write an algorythm that procedurally generates mazes
Challenge:
Maze solver. Make a program taking a picture of a maze, were one Pixel is one spot. The program then finds tde shortest path to solving it
Maze solver. Make a program taking a picture of a maze, were one Pixel is one spot. The program then finds tde shortest path to solving it
Forwarded from Amirhossein
php :
if (isset($_GET['num'])) {
if (is_numeric($_GET['num'])){
if (strlen($_GET['num']) < 7){
if ($_GET['num'] > 999999)
echo "this is a bug";
}
}
}
What number can replace with num that print echo?
if (isset($_GET['num'])) {
if (is_numeric($_GET['num'])){
if (strlen($_GET['num']) < 7){
if ($_GET['num'] > 999999)
echo "this is a bug";
}
}
}
What number can replace with num that print echo?
Forwarded from Deleted Account
Hello guys. I have a really good coding challenge that will also help the community. I already started it with a code audit. https://github.com/Cryptoscam/Guld-Code-Audit
Ira Miller created the code for Guld which is a “solve all” crypto platform which doesn’t make sense at all. You can read the whitepapers in guld.io and code at https://github.com/guldcoin
He has valued his company and code at $80mm and is selling coins to people that dont understand it. He doesnt want to get listed in an exchange for obvious reasons.
I posted the audit in his telegram chat https://www.tg-me.com/guldcoin to start a professional discussion but instead i got insulted by him and his team and got kicked out of the chat. You are welcome to join and read the chat.
I need your help to make unbiased critiscism to his code. I think is the right thing to do, specially when there are devs that work really hard to progress this industry in a ethical way.
Thank you very much all, please share with others. His code is a riddle and i’m sure you will have fun solving it.
Ira Miller created the code for Guld which is a “solve all” crypto platform which doesn’t make sense at all. You can read the whitepapers in guld.io and code at https://github.com/guldcoin
He has valued his company and code at $80mm and is selling coins to people that dont understand it. He doesnt want to get listed in an exchange for obvious reasons.
I posted the audit in his telegram chat https://www.tg-me.com/guldcoin to start a professional discussion but instead i got insulted by him and his team and got kicked out of the chat. You are welcome to join and read the chat.
I need your help to make unbiased critiscism to his code. I think is the right thing to do, specially when there are devs that work really hard to progress this industry in a ethical way.
Thank you very much all, please share with others. His code is a riddle and i’m sure you will have fun solving it.
GitHub
GitHub - Cryptoscam/Guld-Code-Audit: https://github.com/guldcoin code audit
https://github.com/guldcoin code audit. Contribute to Cryptoscam/Guld-Code-Audit development by creating an account on GitHub.
HEAP TIME
Difficulty: Easy
========
Implement a Binary Sort Tree that is optimized according to the AVL algorithm. Cookie points: Implement it without objects and without pointers!
Difficulty: Easy
========
Implement a Binary Sort Tree that is optimized according to the AVL algorithm. Cookie points: Implement it without objects and without pointers!
📖 Why did you come to this group?
Please briefly explain how and why you came to this group/channel
👤 I'm came from learn programming and coding
👤 to learn
👤 to learn
👤 I actually have no idea I hate this channel
👤 i want to improve my programming skills
👤 idk
👤 Expecting to find news about programming, frameworks, trends and events
👤 Learn
👤 I want to improve my programming skills
👤 Learn
👤 I want to improve my programming skills
👤 Fuck you
👤 I came to learn coding as well as see others codes to get better at it
👤 Learn
👤 Just to see some funny challenges when i am not busy
👤 love programming
👤 Because I love programming and I work in it now
👤 For fun
👤 Learn more stuff about linux
👤 Hi
👤 To learn new thing
👤 Find good coding challenges
👤 To imporve my skills
👤 Learn something new
👤 I want to improve my skills
👤 cus i like the title…
👤 The title was good but channel is slow. No Profile pic no active 😐
👤 My love for programming brought me here and I would love to start solving the questions once my summer vaccations start
👤 wanna know what’s this group all about
👤 I want to learn and I want to improve my programming skills
👤 I actually joined the group to improve my programming skills.
👤 I really dunno😅
👤 To improve my programming skills and learn new stuff
👤 Love programming 🖤
👤 to learn
👤 Because you said this group has 1,3k follower
👤 To improve my programming skills
👤 to improve my coding skills
👤 To learn programming
👤 becouse channel name contain word ”Programming” 😀
👤 To get accumulated by good programming skills by solving challenges!
👤 Coz you dumped the link in a group ... JK, interesting question though
👤 To learn new thing to find a way of solving problems easily to explore best algorithms for programs
👤 To learn skills required for programming
👤 To Test My Programming Skills
👤 To learn and improve my programming skills
👤 To learn
👤 I enjoy programming and I want to keep on learning
👤 I don't even remember lol
👤 Bored
👥 50 people have voted so far
Please briefly explain how and why you came to this group/channel
👤 I'm came from learn programming and coding
👤 to learn
👤 to learn
👤 I actually have no idea I hate this channel
👤 i want to improve my programming skills
👤 idk
👤 Expecting to find news about programming, frameworks, trends and events
👤 Learn
👤 I want to improve my programming skills
👤 Learn
👤 I want to improve my programming skills
👤 Fuck you
👤 I came to learn coding as well as see others codes to get better at it
👤 Learn
👤 Just to see some funny challenges when i am not busy
👤 love programming
👤 Because I love programming and I work in it now
👤 For fun
👤 Learn more stuff about linux
👤 Hi
👤 To learn new thing
👤 Find good coding challenges
👤 To imporve my skills
👤 Learn something new
👤 I want to improve my skills
👤 cus i like the title…
👤 The title was good but channel is slow. No Profile pic no active 😐
👤 My love for programming brought me here and I would love to start solving the questions once my summer vaccations start
👤 wanna know what’s this group all about
👤 I want to learn and I want to improve my programming skills
👤 I actually joined the group to improve my programming skills.
👤 I really dunno😅
👤 To improve my programming skills and learn new stuff
👤 Love programming 🖤
👤 to learn
👤 Because you said this group has 1,3k follower
👤 To improve my programming skills
👤 to improve my coding skills
👤 To learn programming
👤 becouse channel name contain word ”Programming” 😀
👤 To get accumulated by good programming skills by solving challenges!
👤 Coz you dumped the link in a group ... JK, interesting question though
👤 To learn new thing to find a way of solving problems easily to explore best algorithms for programs
👤 To learn skills required for programming
👤 To Test My Programming Skills
👤 To learn and improve my programming skills
👤 To learn
👤 I enjoy programming and I want to keep on learning
👤 I don't even remember lol
👤 Bored
👥 50 people have voted so far
👍1