What will I learn?
You have to manage indexes and list of a 2 dimensional array in this puzzle. You also discover the binary search algorithm and finally, it makes you know that batman is really good at cleaning windows.
External resourcesMultidimensional arrayBinary search2D Binary Search explained by Gaurav Sen
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
The goal of this puzzle is to guess the coordinate of a bomb (line and column of a 2 dimensional array). You will have to make a guess at each step of the puzzle and adjust it from given feedbacks. Of course, you have a limited number of guess.
A higher resolution is required to access the IDE
Bombs, hostages, and a hero. This time, you are the hero. Your job is to find the bombs before they explode! Don't worry, we got you covered, we've handed you a heat detector set to recognize the thermal signature of the bombs. Easy? Let's find out.
This medium puzzle is the first of the two exercises proposed for the challenge « Shadows of the Knight ». Once you have completed it, why not try to solve the next one « Shadows Of The Knight - Episode 2 », on the same theme but with an increased difficulty.