Given a robot cleaner in a room modeled as a grid. Each cell in the grid can be empty or blocked. The robot cleaner with 4 given APIs can move forward, turn left or turn right. Each turn it made is 90 ...
There is no secret sauce or one size fits all design for any problem. However, its good to point out constraints before beginning your design. The following list are some questions you should always ...