CodinGame Solutions Save

Contains all my working solutions in C#/Java/Python for puzzles on https://www.codingame.com/.

Project README

CodinGame


CodinGame Solutions

Introduction

In this reposority you will find my working solutions for puzzles on the platform https://www.codingame.com/. In the table below you can see which puzzles I already completed.

Info: It is not my intention to write the solutions as short as possible! I just want to write my code understandable and clean even when it makes the actual code longer.

Completed Puzzles

No. Puzzle Name State Difficulty Languages
1 1010(1) :x: Not Completed Medium
2 1x1x1 Rubik's cube movements :x: Not Completed Easy
3 2.5D maze :x: Not Completed Medium
4 2048 scores :x: Not Completed Medium
5 2x2x2 Rubik's cube movements :x: Not Completed Medium
6 7-segment display :x: Not Completed Hard
7 Add'em Up :heavy_check_mark: Completed Easy C#, Java, Python
8 Advanced Tree :x: Not Completed Medium
9 Alternative vote :x: Not Completed Hard
10 Anagrams :x: Not Completed Hard
11 Ancestors & Descendants :x: Not Completed Medium
12 ANEO Sponsored Puzzle :x: Not Completed Medium
13 Apple tree :x: Not Completed Hard
14 Army ants :x: Not Completed Medium
15 ASCII Art :heavy_check_mark: Completed Easy C#, Java, Python
16 ASCII ART: Glass Stacking :x: Not Completed Medium
17 Ascii Graph :x: Not Completed Medium
18 A-star excercise :x: Not Completed Medium
19 Bag of Balls :x: Not Completed Medium
20 Balanced ternary computer: encode :heavy_check_mark: Completed Easy C#, Java, Python
21 Bank Robbers :heavy_check_mark: Completed Easy C#, Java, Python
22 Bender - Episode 1 :x: Not Completed Medium
23 Bender - Episode 2 :x: Not Completed Hard
24 Bender - Episode 3 :x: Not Completed Hard
25 Binary neural network - Part 1 :x: Not Completed Very Hard
26 Binary neural network - Part 2 :x: Not Completed Very Hard
27 Binary Permutations :x: Not Completed Hard
28 Bingo! :x: Not Completed Medium
29 Boggle :x: Not Completed Hard
30 Box of Cigars :x: Not Completed Medium
31 Brackets, Enhanced Edition :x: Not Completed Medium
32 Brackets, Extended Edition :x: Not Completed Medium
33 Brackets, extreme edition. :x: Not Completed Easy
34 Brackets, Ultimate Edition :x: Not Completed Medium
35 Breakout :x: Not Completed Hard
36 Brick in the Wall :heavy_check_mark: Completed Easy C#, Java, Python
37 Bruce Lee :x: Not Completed Medium
38 Bulgarian solitaire :x: Not Completed Medium
39 Bulk Email Generator :heavy_check_mark: Completed Easy C#, Java, Python
40 Bulls and Cows :x: Not Completed Very Hard
41 Bust speeding vehicles :x: Not Completed Medium
42 Candies :x: Not Completed Hard
43 Cards castle :x: Not Completed Medium
44 Carmichael numbers :x: Not Completed Easy
45 Castle Siege :x: Not Completed Hard
46 CG Chat interpreter - Part 1 :x: Not Completed Very Hard
47 CGFunge interpreter :x: Not Completed Medium
48 CGS minifier :x: Not Completed Medium
49 CGX Formatter :x: Not Completed Hard
50 Cheat Solving :x: Not Completed Hard
51 Chemical Equation Balancing :x: Not Completed Very Hard
52 Chess cavalry :x: Not Completed Hard
53 Chess moves on FEN position :x: Not Completed Hard
54 Chuck Norris :heavy_check_mark: Completed Easy C#, Java, Python
55 Code your own Automaton2000, step 1 :x: Not Completed Hard
56 CodinDice :x: Not Completed Very Hard
57 Completed Mahjong Hands :x: Not Completed Very Hard
58 Connect four :x: Not Completed Hard
59 Conway Sequence :x: Not Completed Medium
60 Count of Primes in a number grid :x: Not Completed Medium
61 Counting Squares on Pegs :x: Not Completed Medium
62 Cross the lines :x: Not Completed Very Hard
63 Cryptarithm :x: Not Completed Hard
64 Cubax Folding :x: Not Completed Very Hard
65 Darts :x: Not Completed Easy
66 DDCG Mapper :x: Not Completed Medium
67 Dead men's shot :heavy_check_mark: Completed Easy C#, Java, Python
68 Defibrillators :heavy_check_mark: Completed Easy C#, Java, Python
69 De-FizzBuzzer :x: Not Completed Medium
70 Depot organization :x: Not Completed Medium
71 Dice probability calculator :x: Not Completed Medium
72 Digit sum successor :x: Not Completed Medium
73 Disks intersection :x: Not Completed Hard
74 Disordered First Contact :x: Not Completed Easy
75 Divide the factorial :x: Not Completed Very Hard
76 Divine! :x: Not Completed Medium
77 Dominoes Path :x: Not Completed Medium
78 Dominoes solver :x: Not Completed Hard
79 Don't Panic - Episode 1 :x: Not Completed Medium
80 Don't Panic - Episode 2 :x: Not Completed Hard
81 Drawing Polygons :x: Not Completed Hard
82 Dumbbells solver :x: Not Completed Hard
83 Dungeon Designer :x: Not Completed Very Hard
84 Dwars standing on the shoulders of giants :x: Not Completed Medium
85 Egyptian multiplication :x: Not Completed Hard
86 Einstein's riddle solver :x: Not Completed Hard
87 Electrical grid :x: Not Completed Hard
88 Elementary cellular automaton :x: Not Completed Medium
89 Elevator :x: Not Completed Hard
90 Encryption/Decryption of Enigma Machine :x: Not Completed Easy
91 Enigma - 3 rotors without plugboard :x: Not Completed Medium
92 Erdös Number :x: Not Completed Hard
93 Execution Circle :x: Not Completed Hard
94 Expand the polynomial :x: Not Completed Easy
95 Factorial vs Exponential :x: Not Completed Hard
96 Factorials of primes decomposition :x: Not Completed Hard
97 Fill the square! :x: Not Completed Very Hard
98 Find the replacement :x: Not Completed Medium
99 Flood fill Example :x: Not Completed Medium
100 Flood the World :x: Not Completed Very Hard
101 Folding Paper :x: Not Completed Medium
102 Format string validation :x: Not Completed Hard
103 Fractal Carpet :x: Not Completed Hard
104 Game of life :x: Not Completed Medium
105 Genome Sequencing :x: Not Completed Hard
106 Ghost Legs :heavy_check_mark: Completed Easy C#, Java, Python
107 Google Interview - The Two Egg Problem :x: Not Completed Hard
108 Gravity :x: Not Completed Medium
109 Gravity Centrifuge :x: Not Completed Medium
110 Gravity Centrifuge Tuning :x: Not Completed Medium
111 Gravity Tumbler :heavy_check_mark: Completed Easy C#, Java, Python
112 Guessing n Cheating :heavy_check_mark: Completed Easy C#, Java, Python
113 Hangman :x: Not Completed Hard
114 Hanoi tower :x: Not Completed Hard
115 Harmless Rooks :x: Not Completed Hard
116 Haunted Manor :x: Not Completed Very Hard
117 Heart of the City :x: Not Completed Very Hard
118 Hidden word :x: Not Completed Medium
119 Highest truncated pyramid :x: Not Completed Hard
120 High-rise buildings :x: Not Completed Very Hard
121 Hill Notation and Hill Order :x: Not Completed Hard
122 Hit the road :x: Not Completed Hard
123 Hitori solver :x: Not Completed Very Hard
124 Horn-SAT solver :x: Not Completed Hard
125 Horse-hyperracing Hyperduals :x: Not Completed Medium
126 Horse-racing Duals :heavy_check_mark: Completed Easy C#, Java, Python
127 Horse-racing Hyperduals :x: Not Completed Easy
128 Hourglass :x: Not Completed Very Hard
129 How time flies :heavy_check_mark: Completed Easy C#, Java, Python
130 HTML table cell split :x: Not Completed Medium
131 Inertia ride :x: Not Completed Hard
132 ISBN Check digit :heavy_check_mark: Completed Easy C#, Java, Python
133 Jack Silver: The Casino :x: Not Completed Easy
134 Kaprekar's routine :x: Not Completed Medium
135 KGood :x: Not Completed Hard
136 Kolakoski Sequence :x: Not Completed Hard
137 Langton's ant :x: Not Completed Medium
138 Laser and mirrors :x: Not Completed Hard
139 Levenshtein distance :x: Not Completed Hard
140 Locked in gear :x: Not Completed Medium
141 Longest Palindrome :x: Not Completed Very Hard
142 Lumen :heavy_check_mark: Completed Easy C#, Java, Python
143 Magic count of numbers :x: Not Completed Hard
144 Magic Square :x: Not Completed Medium
145 Magic stones :x: Not Completed Medium
146 Mars Lander - Episode 1 :heavy_check_mark: Completed Easy C#, Java, Python
147 Mars Lander - Episode 2 :x: Not Completed Medium
148 Mars Lander - Episode 3 :x: Not Completed Very Hard
149 Max Rect :x: Not Completed Hard
150 Maximum sub-sequence :x: Not Completed Medium
151 May the Triforce be with you! :x: Not Completed Easy
152 Mayan Calculation :x: Not Completed Medium
153 Maze :x: Not Completed Medium
154 Micro Assembly :x: Not Completed Medium
155 MIME Type :heavy_check_mark: Completed Easy C#, Java, Python
156 Minesweeper :x: Not Completed Very Hard
157 Mini sudoku solver :x: Not Completed Hard
158 Minimal number of swaps :x: Not Completed Medium
159 Minimax excercise :x: Not Completed Medium
160 Minimax Simple Example :x: Not Completed Very Hard
161 Misère Nim :x: Not Completed Hard
162 Monday Tuesday Happy Days :x: Not Completed Hard
163 Monte Carlo Tree Search exercise :x: Not Completed Hard
164 Monthly System :x: Not Completed Medium
165 Morellet's random lines :x: Not Completed Easy
166 Music Scores :x: Not Completed Very Hard
167 Musical Intervals :x: Not Completed Hard
168 Mystery sums :x: Not Completed Hard
169 n Queens :x: Not Completed Hard
170 Nature of quadrilaterals :x: Not Completed Easy
171 Near-Palindromes :x: Not Completed Medium
172 Neighbor-Sum Grids :x: Not Completed Hard
173 Network Cabling :x: Not Completed Medium
174 Next car license plate ? :x: Not Completed Medium
175 Nintendo Sponsored Contest :x: Not Completed Very Hard
176 Number of letters in a number - Binary :x: Not Completed Medium
177 Number of paths between 2 points :x: Not Completed Medium
178 Numeral system :x: Not Completed Medium
179 Onboarding :heavy_check_mark: Completed Easy C#, Java, Python
180 OneWay City :x: Not Completed Very Hard
181 Order of Oopserations! :x: Not Completed Hard
182 orDer oF succeSsion :heavy_check_mark: Completed Easy C#, Java, Python
183 Organic Compounds :x: Not Completed Easy
184 Othello :x: Not Completed Medium
185 Paper labyrinth :x: Not Completed Medium
186 Paper-folding curve :x: Not Completed Hard
187 Parsing context-free grammar :x: Not Completed Hard
188 Pascal Trapezoid :x: Not Completed Hard
189 Pirate's treasure :x: Not Completed Easy
190 Plight Of The Fellowship Of The Ring :x: Not Completed Medium
191 Polydivisible number :x: Not Completed Medium
192 Porcupine Fever :x: Not Completed Hard
193 Power of Thor - Episode 1 :heavy_check_mark: Completed Easy C#, Java, Python
194 Power of Thor - Episode 2 :x: Not Completed Hard
195 Prime Transformations :x: Not Completed Very Hard
196 Quaternion Multiplication :x: Not Completed Hard
197 Queneau Numbers :x: Not Completed Medium
198 Rectangular block spinner :x: Not Completed Easy
199 Recurring Decimals :x: Not Completed Very Hard
200 Remainder Fantasy :x: Not Completed Hard
201 Reverse Polish Notation :x: Not Completed Hard
202 Reversed Look-and-say :x: Not Completed Medium
203 Rocket mice :x: Not Completed Hard
204 Roller Coaster :x: Not Completed Hard
205 Rooks Movements :x: Not Completed Easy
206 Rubik :x: Not Completed Medium
207 Rugby score :x: Not Completed Easy
208 Sandpile addition :x: Not Completed Medium
209 Scrabble :x: Not Completed Medium
210 Self-driving car testing :x: Not Completed Easy
211 Shadows of the Knight - Episode 1 :x: Not Completed Medium
212 Shadows of the Knight - Episode 2 :x: Not Completed Very Hard
213 Short accounts make long friends :x: Not Completed Medium
214 Simple Awalé :x: Not Completed Easy
215 Simple CPU Emulation 1 :x: Not Completed Hard
216 Simple fraction to mixed number :x: Not Completed Medium
217 Simple safecracking :x: Not Completed Hard
218 Simplified Monopoly Turns Prediction :x: Not Completed Medium
219 Simplify Selection Ranges :x: Not Completed Hard
220 Skylines :x: Not Completed Very Hard
221 Skynet Revolution - Episode 1 :x: Not Completed Medium
222 Skynet Revolution - Episode 2 :x: Not Completed Hard
223 Sliding puzzle :x: Not Completed Very Hard
224 Snake encoding :x: Not Completed Medium
225 Spreadsheet Labels :x: Not Completed Hard
226 Spy the Spies :x: Not Completed Very Hard
227 Squares order :x: Not Completed Very Hard
228 Staircases :x: Not Completed Very Hard
229 Stock Exchange Losses :x: Not Completed Medium
230 Straddling Checkerboard Cryptography :x: Not Completed Medium
231 Sum of divisors :x: Not Completed Medium
232 Sum of odd :x: Not Completed Hard
233 Super Computer :x: Not Completed Hard
234 Surface :x: Not Completed Hard
235 Symbolic system of equations :x: Not Completed Hard
236 TAN Network :x: Not Completed Hard
237 Teads Sponsored Contest :x: Not Completed Medium
238 Telephone Numbers :x: Not Completed Medium
239 Temperatures :heavy_check_mark: Completed Easy C#, Java, Python
240 Test before Validate! :x: Not Completed Hard
241 Tetris :x: Not Completed Hard
242 Texas Holdem :x: Not Completed Very Hard
243 Text alignment :x: Not Completed Medium
244 Text formatting :heavy_check_mark: Completed Easy C#, Java, Python
245 The barnyard :x: Not Completed Very Hard
246 The Beautiful sequence :x: Not Completed Hard
247 The Bridge :x: Not Completed Hard
248 The Burglar's Dilemma :x: Not Completed Hard
249 The Crime Scene :x: Not Completed Very Hard
250 The Descent :heavy_check_mark: Completed Easy C#, Java, Python
251 The Empire Enigma :x: Not Completed Hard
252 The experience for creating puzzles :x: Not Completed Medium
253 The Fastest :x: Not Completed Medium
254 The Gift :x: Not Completed Medium
255 The Grand Festival - I :x: Not Completed Medium
256 The Grand Festival - II :x: Not Completed Medium
257 The greatest number :x: Not Completed Hard
258 The Highest Building :x: Not Completed Hard
259 The Holy Grail :x: Not Completed Hard
260 The hungry duck - part 1 :x: Not Completed Hard
261 The hungry duck - part 2 :x: Not Completed Hard
262 The Labyrinth :x: Not Completed Hard
263 The Last Crusade - Episode 1 :x: Not Completed Medium
264 The Last Crusade - Episode 2 :x: Not Completed Hard
265 The Last Crusade - Episode 3 :x: Not Completed Very Hard
266 The Lucky Number :x: Not Completed Very Hard
267 The max surface box :x: Not Completed Hard
268 The Optimal Urinal Problem :x: Not Completed Medium
269 The Resistance :x: Not Completed Very Hard
270 The River I. :heavy_check_mark: Completed Easy C#, Java, Python
271 The River II. :heavy_check_mark: Completed Easy C#, Java, Python
272 The Total is Right - Weird edition :x: Not Completed Hard
273 The Travelling Salesman Problem :x: Not Completed Easy
274 The two piles difference :x: Not Completed Very Hard
275 The Ultimate Test :x: Not Completed Medium
276 The Urinal Problem :x: Not Completed Medium
277 The water jug riddle from Die Hard 3 :x: Not Completed Very Hard
278 There is no Spoon - Episode 1 :x: Not Completed Medium
279 There is no Spoon - Episode 2 :x: Not Completed Hard
280 These Romans are crazy! :x: Not Completed Medium
281 Ticket to Ride: Europe :x: Not Completed Very Hard
282 Timer for Clash of Code :x: Not Completed Hard
283 To Sky's Edge :x: Not Completed Hard
284 Trits (Balanced Ternary Computing) :x: Not Completed Medium
285 Turing machine :x: Not Completed Hard
286 TXT2HTML :x: Not Completed Hard
287 Unflood The World :x: Not Completed Very Hard
288 Unfolding paper :x: Not Completed Very Hard
289 Universe Conquest :x: Not Completed Hard
290 Vortex :x: Not Completed Hard
291 Vote counting :x: Not Completed Medium
292 Vox Codei - Episode 1 :x: Not Completed Hard
293 Vox Codei - Episode 2 :x: Not Completed Very Hard
294 Wall Street :x: Not Completed Hard
295 War :x: Not Completed Medium
296 What's so complex about Mandelbrot? :x: Not Completed Easy
297 Winamax Sponsored Contest :x: Not Completed Hard
298 X egg problem :x: Not Completed Hard
299 XML MDF-2016 :x: Not Completed Easy
300 Xorandor :x: Not Completed Very Hard
301 Zergling rush :x: Not Completed Hard

Disclaimer

I created all the solutions found here for myself. There may be similarities with solutions of others. These similarities are then random and not intended.

Open Source Agenda is not affiliated with "CodinGame Solutions" Project. README Source: pathosDev/CodinGame-Solutions
Stars
88
Open Issues
0
Last Commit
4 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating