Ad
  • Custom User Avatar

    ...needless directions removed (W<->E or S<->N side by side)

    Note
    Not all paths can be made simpler. The path ["NORTH", "WEST", "SOUTH", "EAST"] is not reducible. "NORTH" and "WEST", "WEST" and "SOUTH", "SOUTH" and "EAST" are not directly opposite of each other and can't become such. Hence the result path is itself : ["NORTH", "WEST", "SOUTH", "EAST"].

    It's already there.

  • Custom User Avatar

    Nothing to fix. Read the instructions again.