Coding Solution

CodinGame puzzle solutions, explained step by step

Free, explained solutions to 39 CodinGame solo puzzles. Each page restates the problem, walks through the approach step by step, gives the complexity, the commented code (C, Java or Python) and the mistakes that make test cases fail.

Easy puzzles

11

Perfect if you are new to programming or learning a new language: input/output, conditions, loops, strings and simple searches.

Medium puzzles

17

Classic algorithms start here: binary search, BFS on graphs, sorting, dictionaries and careful simulation.

Hard puzzles

10

Shortest paths (Dijkstra), backtracking, flood fill, scheduling and dynamic programming on larger inputs.

Very hard puzzles

1

Optimisation and advanced data structures where a naive approach times out.

★ 5.0 · 16 reviews · 928 users Add to Chrome