Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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
Nice Kata ;)
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.