LeetCode874. Walking Robot Simulation (模拟题)
A robot on an infinite grid starts at point (0, 0) and faces north. The robot can receive one of three possible types of commands:-2: turn left 90 degrees-1: turn right 90 degrees1 <= x <= ...
原创
2018-10-30 19:06:11 ·
171 阅读 ·
0 评论