【One topic per day】Directions Reduction
前端题库,Javascript题集
Directions Reduction
In [“NORTH”, “SOUTH”, “EAST”, “WEST”], the direction “NORTH” + “SOUTH” is going north and coming back right away. What a waste of time! Better to do nothing.
The path becomes...