Ad
  • Default User Avatar

    Could you please give the paper your readen ? Or some keyword you used to have an approach of the algo i should find :)
    I'm running throught an timeout issue too all testcases pass but not the biggest

  • Default User Avatar
  • Default User Avatar

    Nice Kata, but i don't understand why a path like NORTH EAST SOUTH WEST is not reductible the Cowboy will go back to it's initial position.
    My first solution was to to return an empty array and make the guy stay at his initial position but the solution expect the entire path NORTH EAST SOUTH WEST and the cowbow should travel through direction to comeback to its initial position.