Ad
  • Custom User Avatar

    Elimination of circles (not just concecutive north/south or east/west movements) is exactly the purpose of this kata.

    From other examples section in Kata's description: "In ["NORTH", "EAST", "WEST", "SOUTH", "WEST", "WEST"], "NORTH" and "SOUTH" are not directly opposite but they become directly opposite after the reduction of "EAST" and "WEST" so the whole path is reducible to ["WEST", "WEST"].