Getting Robo to Safety

Betty wants to create an algorithm to help the NASA robot get from the lower right corner to the top-left square marked with a X. However, it cannot step on the red tiles, as they represent a lava river.

Which of these algorithms could she use?



Algorithm 1: Walk 4 squares up and 4 squares left.
Algorithm 2: Walk 2 squares up and 4 squares left and 2 squares up.
Algorithm 3: Walk 2 squares left and 4 squares up and 2 squares left.
Algorithm 4: Walk 4 squares left and 4 squares up.

×

Problem Loading...

Note Loading...

Set Loading...