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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In answer to @lytvyn139 (it wouldn't let me post a reply). The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.
The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.
The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.
The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.
The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.
The reason is that if we have j and i being equal at any point in our comparison, they are both going to point to the same index of the string. Say we have str = "A". Using j = 0 in the second loop will return true, which is clearly not what we want.