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.
@VictorCervantes, try now :)
Nice and clear.
@Blind4Basics: Avoiding "needless effort" and "crossing the desert the smart way" are hints leading to shortest path. If you want to remove just side by side W<->E or S<->N, you need a different story behind. Would you voluntarily go in circles being in the desert? And why I have prioritized the desert story above the reduction rules? Because I liked the desert story more. People are claiming inconsistence of the story and rules for years. Just read more of discourse to this kata.
@Voile: Yes, but this can happen only if you are starting on one of the two earth poles. And there are no deserts around the poles :) So there is no desert where this pole anomaly is a common sense. BTW, you don't need to go south 1/4 circumference of the earth, it works for all distances. You can try, for example, going south 10 meters, east 10 meters and north 10 meters and you are back on the (north) pole :)
Interesting problem with uncomplete and contradictory description. Why should anyone striving to spare his effort and water go north, west, south and east? But it is not so easy to prepare a good description as there are several caveats. For example [east, west, south, east, north] should result in just [east] and not in [south, east and north]. But on the other hand, a closed path can not be reduced so simply, because, for example, [west, south, east, north, north, west, south] can be reduced to [west] whereas the last three [north, east, south] cannot be reduced to [west].
This comment is hidden because it contains spoiler information about the solution
Should not be forked from here as it is not about being smart (and smarter) with Python complex numbers.
Nice.