1). more info on 1point3acres.com
扫地机器人
给一个扫地机器人,还有三个function:
move(), which returns boolean value. visit 1point3acres.com for more.
turn_left(k), which make robot turns left k times.
turn_right(k), which make robot turns right k times.
Design an algorithm to make robot clean up all room. Timecomplexity, linear in term of room space.