Mars Rover Project - USHackerPros/Rover-Project GitHub Wiki
Project Overview
A squad of robotic rovers are to be landed by NASA on a plateau on Mars. This plateau, which is curiously rectangular, must be navigated by the rovers so that their on-board cameras can get a complete view of the surrounding terrain to send back to Earth. A rover's position and location is represented by a combination of x and y co-ordinates and a letter representing one of the four cardinal compass points. The plateau is divided up into a grid to simplify navigation. An example position might be 0, 0, N, which means the rover is in the bottom left corner and facing North.
Assume that the square directly North from (x, y) is (x, y+1).
INPUT AND OUTPUT
Test Input: 5 1 2 N LMLMLMLMM
5 3 3 E MMRMMRMRRM
Expected Output: 1 3 N 5 1 E