• 6848

What will I learn?

In this puzzle, you have to detect special characters from a string. You also have to store input values into a grid to explore it. You have to go through all elements from a grid (certainly using a double loop) and from those points, iterate again on some elements of the grid. Solving this puzzle make you learn the concept of nested loop.

External resources

Multidimensional arrayLoops

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.


The goal is to find, when they exist, the horizontal and vertical neighbors nodes from a two dimensional array. The difficulty is in the number of nested loops that this puzzle can make you write. Do not get lost!

A higher resolution is required to access the IDE


Zion is being attacked from everywhere. The last free humans count on you to enhance the triggering mechanism of the APUs (Armored Personal Unit) in order to give humanity a decisive tactical advantage. First phase: code the initialization mechanism of the APU.


This puzzle is part of a series of two exercises proposed during the “There is no Spoon” contest. Once done you should head towards the « There Is No Spoon - Episode 2 » puzzle where things may just get a little thougher!

codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
Online Participants