Back
Close
  • 10589

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.

Statement

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

Story

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!