/Mars-Rover-Solution

An efficient mars-rover solution in ruby

Primary LanguageRuby

Mars-Rover-Solution

To Run the program type 'ruby input.rb'
5 5
1 2 N
LMLMLMLMM

Run one input at a time.
If you want multiple input add a while loop inside input.rb.