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.
Thats totally the way you should be looking at it and I couldn't agree with you more.
When your learning Python you should learn the mechanics of the
algorithm first by looking up documentation and experimenting with it.
When your experience grows, you can start to implement faster cleaner
ways of writing code.
But learning the hardway or the long way first is definitely the better way
to becomming a better coder/programmer.
Yes starting to learn that 👍
This comment is hidden because it contains spoiler information about the solution
💀
lol so true
Insane.!
i didn't know that range function return a list . nice
nice solution
Because python that's why lol
Moral of the story: Assume everything has a function in python before attempting to brute force the problem :)
Because it's python lol. If something can be written in one function, why not? :D
I'm confused as to why it knows c represents characters in the strings
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
This does not work, test it on {"NORTH", "SOUTH", "SOUTH", "EAST", "NORTH", "WEST", "WEST"}. It relies heavily on adjacent ways cancelling each other out. Breaks once we have two unadjacents in a row.
Loading more items...