Skip to content
/ CodinGame Public

🌟 This is my repo for working solutions to CodinGame programming puzzles.

Notifications You must be signed in to change notification settings

aflr/CodinGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 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.

Easy

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

Medium

Description Solution Concepts
24 Game Java Recursion, Algebra, Arithmetic
ASCII Art with Logo Language Java Ascii Art, Interpreters
Bijective Numeration Java Parsing, Encoding, Radix
Binary Search Tree Traversal Java graph traversal, Binary Tree
Binary Sequence Java
Boarding passes ready! Java
Boggle with Friends Java Lists, 2D array
Brackets, Enhanced Edition Java Parsing
Brackets, Extended Edition Java Loops, Conditions
Byte pair encoding Java Encoding, Compression
Conway Sequence Java Sequences
Custom Game of Life Java Lists, Loops, Conditions, Simulation, 2D array
Death First Search - Episode 1 Java BFS, Graphs
Decimal numbers to floating numbers Java Parsing, String manipulation, Numbers
De-FizzBuzzer Java Strings, Arithmetic
Don't Panic - Episode 1 Java Conditions
Dwarfs Standing on the Shoulders of Giants Java Memoization, Recursion, Graphs
Entry code Java Graphs
Flood fill Example Java Flood fill, BFS
Format string validation Java
Game of Life Java
Gravity Tumbler Java Physics
Guessing N Cheating Java Sets, Conditions, Logic
IP Mask Calculating Java Loops
Join the Dots Java Ascii Art
Longest Increasing Subsequence Java Dynamic programming
Mayan Calculation Java Strings, Radix
Maze Java
Micro Assembly Java Stack, Interpreters
Network Cabling Java Loops, Distances, Medians
Paper Labyrinth Java Strings, Pathfinding, BFS, Graphs, Compression
Playfair Cipher Java Cryptography
Remaining Card C, C++, Java, JavaScript, PHP, Swift Sequences
Reverse Polish Notation Java Stack, Reverse Polish Notation, Interpreters
Reversed Look-and-say Java Loops, String manipulation
Rock-Paper-Scissors War Java Conditions, 2D array
Roman Sorting Java Sorting
Scary Ride at the Haunted Mansion Java Conditions, Ascii Art
Scrabble Java Loops, Conditions
Self Checkout Machine Java Arrays, Loops, String manipulation, Modular calculus
Shadows of the Knight - Episode 1 Java Binary search, Intervals
Stock Exchange Losses Java Arrays, Loops, Conditions
Sudoku Solver C++, Java Backtracking
Tennis Score Java Arrays, Loops, Conditions
The Fall - Episode 1 Java Conditions
The Gift Java Greedy algorithms
The lost child. Episode 1 Java Pathfinding, BFS, 2D array
There Is No Spoon - Episode 1 Java Lists
Tiny Forest Java Optimization, Simulation, 2D array
Valid brackets in code Java Loops, Regular expressions, Stack, String manipulation
What the Brainfuck! Java Interpreters

Hard

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

Very hard

Description Solution Concepts
High-rise Building C, Java
Recurring Decimals Java

About

🌟 This is my repo for working solutions to CodinGame programming puzzles.

Topics

Resources

Stars

Watchers

Forks