π Here you can find some of my functional solutions to CodinGame programming puzzles.
β Solutions are written mostly in Java, although there are some in C, C++, Groovy, JavaScript, PHP, Python, or Swift.
βοΈ All of the code has successfully passed the tests and validators in CodinGame. βοΈ
π It is possible to visit my profile here.
Description | Solution | Concepts |
---|---|---|
1. NGR - Basic Radar | Java | |
1000000000D World | Java | Arrays |
1D Spreadsheet | Java | Memoization, Lazy Evaluation, Dependency Graph |
7-Segment Scanner | Java | Loops, Conditions, String manipulation, Ascii Art |
abcdefghijklmnopqrstuvwxyz | Java | BFS, DFS, Arrays |
Add'em Up | Java, Swift | Greedy algorithms, Sorting |
Agent X, Mission 1 - The Caesar Cipher | Java | Cryptography, Cipher |
An adventure in the fantasy world | Java | Maze |
Annihilation | Java | |
ASCII Art | Java | Strings, Arrays, Loops |
ASCII Art The Drunken Bishop Algorithm | Java | Bin packing, Ascii Art |
Asteroids | Java, Swift | |
Auto pickup | Java | Parsing, String manipulation |
Bank Robbers | Java, JavaScript, Swift | Loops, Mathematics |
Binary Image | Java | Arrays |
Blackjack solver | Java | Strings, Loops, Conditions, Card games |
Blowing Fuse | Java | Conditions |
Brackets, Extreme Edition. | Java | |
Build A Bookcase | Java | Loops, Logic, Mathematics, Ascii Art |
Caesar is the Chief | Java | String manipulation, Cipher |
Card Counting when easily distracted | Java | String manipulation, Probability, Card games |
Catching Up | Java | Pathfinding, BFS, Greedy algorithms, Graphs |
Cheap Choices | Java | Lists |
Container Terminal | Java | Stack |
Count your coins | Java | Arrays, Mathematics |
Couple's Picture-Frame | Java | 2D array, Mathematics, Ascii Art |
Create the longest sequence of 1s | Java | String manipulation |
Create 'Turn Here' Signs | Java | Loops, Logic, String manipulation, Ascii Art |
Credit Card Verifier (Luhn's Algorithm) | Java | Check-digit |
Crop-Circles | Java | 2D array, Geometry, Ascii Art |
Defibrillators | Java | Loops, Distances, Trigonometry |
Detective Pikaptcha EP1 | Java | Maze |
Digital Scoreboard | Java | Parsing, 2D array, Ascii Art |
Embedded Chessboards | Java, Java (golf) | |
Encryption/Decryption of Enigma Machine | Java | Strings, Encoding, Cryptography, String manipulation |
Equivalent Resistance, Circuit Building | Java | Parsing, Physics |
Euclid's Algorithm | Java, JavaScript | Recursion, Mathematics |
Faro shuffle | Java, Swift | Loops |
Fax Machine | Java | Compression |
Fibonacci's Rabbit | Java | Loops, Mathematics |
Flip The Sign | Java, Swift | Conditions, 2D array |
Folding Paper | Java | Loops, Sequences, Mathematics |
Frame the picture | PHP | Loops, String manipulation |
GDQ - Binary Coded Decimal Clock | Java | |
Graffiti on the Fence | Java, JavaScript | Intervals |
Happy Numbers | Java | Loops, Data Types |
Hidden Messages in Images | Java, JavaScript, PHP, Swift | Image processing, Loops |
Horse-Racing duals | Bash, C++, Java, Swift | Loops |
How high up does the beer go? | Java | Geometry |
Hunger Games | Java | Sorting |
Interstellar | Java | Strings, Graphs, Distances, String manipulation, Coordinates |
IPv6 Shortener | Java | Strings, Parsing, Loops, Regular expressions |
Is that a possible word? | Java | State machine |
ISBN Check Digit | Java | Check-digit, Arithmetic |
Kangaroo words | Groovy, Java | Loops, Sorting, string |
Largest Number | Java | |
Logic Gates | Java | Logic |
Lumen | Java | Loops, 2D array |
May the Triforce be with you! | Java | Loops, Ascii art |
Mars Lander - Episode 1 | C, C++, Java | Conditions |
Max Area | Java, JavaScript, PHP | Arrays, Mathematics |
MIME Type | Java | Strings, Hash tables, Loops, Conditions |
Mountain Map | Java | Ascii Art |
Moves in Maze | Java | Flood fill, BFS, Maze |
NATO-alphabet's odd uncles | Java | Pattern recognition, Arrays, Conditions, String manipulation |
Next Car License Plate? | Java | Sequences, Mathematics |
Number Formatting | Java | Strings, Numbers |
Odd-Quad-Out | Java | Arithmetic, 2D array, Digit counts |
Offset Arrays | Java | Parsing, Recursion |
Onboarding | Bash, C, C++, Java, JavaScript, Python3, Swift | Conditions |
Panel Count | Java | Loops |
Periodic table spelling | Java | BFS, DFS, Lists, Loops |
Power of Thor - Episode 1 | Java, Swift, VB.NET | Conditions |
Prefix Code | Java | Tries, String manipulation |
Queen Control | Java | Loops, Conditions, Chess |
Retro Typewriter Art | Java | Parsing, Ascii Art |
Reverse FizzBuzz | Java | |
Reverse Minesweeper | Java | 2D array |
π€ Robot Reach | Java | Recursion |
Robot Show | Java, JavaScript | Strive for Simplicity |
Rock Paper Scissors Lizard Spock | Java | Arrays, Conditions |
Rocks, Papers, Scissors-es | Java | |
Rotating arrows | Groovy, Java | Loops, 2D array |
Scrabble score | Java | Strings, Loops, Conditions, Sorting, 2D array |
Shoot Enemy Aircraft | Java | Arrays, Loops |
Should bakers be frugal? | Java | Strive for Simplicity, Resouce management, Simulation, Mathematics, Geometry |
Simple auto-scaling | C, Groovy | Loops |
Six Degrees of Kevin Bacon | Java | BFS, Lists, Graphs |
Snail Run | Java | Arrays, Loops |
Snake Sort 2D | Groovy | Sorting |
Square Spiral for Alien Contact π½ | Java | 2D array, String manipulation |
Stunning Numbers | Java | Numbers |
Substitution Encoding | Java | Strings, Encoding, 2D array, String manipulation |
Sudoku Validator | Java | Conditions, 2D array |
Swatch Internet Time | Java | Data Types |
Table of Contents | Java | Strings, Parsing |
Ted's compiler | Java | Parsing, Stack |
Temperatures | C, Groovy, Java, JavaScript, Lua, PHP, Python3, Swift, TypeScript | Arrays, Loops, Conditions |
The Broken Editor | Java | Arrays, String manipulation |
The Descent | Java, Swift | Loops |
The logo beyond C++ and C# | Java | Parsing, 2D array, Ascii Art |
The Mystic Rectangle | Java | Distances, Coordinates |
The Other Side | Java | Flood fill, BFS, DFS, graph traversal |
The River I. | Java | Conditions |
The weight of words | Java | Cryptography |
Tile a Floor | Java | Logic, 2D array, Ascii Art |
Triangle Toggle | Java | 2D array, Ascii Art |
Ulam Spiral | Java | Primes, Mathematics, Ascii Art |
Unary | Groovy, Java, Swift | Strings, Encoding, Loops, Conditions |
Where am I going? | Java | Strings, Pathfinding, Lists, 2D array |
Where's Wally | Java | Regular expressions, String manipulation, Ascii Art |
Word Search for Programmers | Java | Loops, Conditions, 2D array, String manipulation |
Wordle Colorizer | Java | |
"You are the Father": Maury Povich Style | Java | String manipulation |
Zeckendorf representation, part I | Java | Recursion, Greedy algorithms, Arithmetic, Mathematics, Numbers |
Description | Solution | Concepts |
---|---|---|
CGX Formatter | Java | Strings, Parsing |
Elevator | Java | |
Hangman | Java | |
Kolakoski Sequence | Java, Swift | |
Maximising Integers | Java, Swift | Greedy algorithms |
Mini Sudoku Solver | Java | |
SHA-256 Hash | C++ | Cryptography |
TAN Network | Java | Pathfinding, Graphs, Distances, Trigonometry |
The Greatest Number | Java | |
The Hidden Fortress | Java | Logic |
The Total is Right - Weird edition | Java, Swift | Brute-force, Arithmetic |
Zergling Rush | Java |
Description | Solution | Concepts |
---|---|---|
High-rise Building | C, Java | |
Recurring Decimals | Java |