For Loop Puzzles @WhatsACreel
For Loop Puzzles  @WhatsACreel
Uploaded July 2013 | Updated November 2026, 2 hours ago
I'd like to introduce a new type of puzzle for programmers of C-Like languages (C++, Java and C#), the For Loop puzzle. You're asked to generate some sequence of numbers, you can only use a single for loop and no calculation can take place outside the for loop itself. It sounds easy but it's far from it. Watch the vid, you'll get the point.

These puzzles will hone your skills, test your knowledge of the language and operators and give your algorithm design skills a run around the block.

Please post novel solutions in the comments, I'd love to hear how other folks solve these twibbles.

Post interesting sequences also, that'd be cool too!
For Loop PuzzlesIntroduction to Function Pointers in C++: What are they and how are they used?Linux x64 Assembly Tutorial 1: Getting a Value from NASM into G++AES Encryption 1: Intro and OutlineIntroduction to Quantum ComputingTop 10 Data Structures in Computer Science (Crash Course)C++ Tutorial 4: ++   and Compound AssignmentsIntroduction to Neural Networks (AI vs Biological Neural Nets)Computer Science Lockdown Quizx64 Assembly Tutorial 51: Shuffle InstructionsC# Windows 8 Tutorial 4: A Token Classx64 Assembly Tutorial 57: SSE Inserting and Extracting Instructions
Creel |

For Loop Puzzles

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER