Ad
  • Default User Avatar

    From the description:
    "The path ["NORTH", "WEST", "SOUTH", "EAST"] is not reducible."
    For that case, the input and output should be the same.

  • Custom User Avatar

    Apparently you do not understand task well ;)

    Not a kata issue. Description mentions several times that only directions immediately following one another can be reduced.