2069. Walking Robot Simulation II
php
dev.to
2069. Walking Robot Simulation II Difficulty: Medium Topics: Senior, Design, Simulation, Biweekly Contest 65 A width x height grid is on an XY-plane with the bottom-left cell at (0, 0) and the top-right cell at (width - 1, height - 1). The grid is aligned with the four cardinal directions ("North", "East", "South", and "West"). A robot is initially at cell (0, 0) facing direction "East". The robot can be instructed to move for a specific number of steps. For each step, it does the following.