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.
But isn't it more logical to cancel out everything even if it's not directly opposite? If 'NORTH, WEST, SOUTH, EAST' brings you to the same spot, why does tha kata request to not remove anything (because it's not directly opposite)? I'm just curious, as if I was to build a similar function in the future, I would do it my way
I know, but it's one of the most efficient methods
huh? the person did not use encode, what are you even talking about?
This is easy for beginners like me to understand, and that's all. I think actually solving the problem comes before complexity.
I don't get the joke...
This comment is hidden because it contains spoiler information about the solution
Can anyone explain this? :(
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The visualizer only executes the first line of the code...
AMAZING!!! I don't know how people are able to think this way.
This comment is hidden because it contains spoiler information about the solution
;)
You can just create a variable called count which increases by 1 everytime a number is a divisor. This way, you don't have to create an extra list and it's probably faster.
Also, comments are marked with a single #, the second # is unnecessary.
Nope, I think the first comment's correct.
You can't multiply an integer by a string, but you CAN multiply a string with an integer.
Loading more items...