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.
The best and understandable
This comment is hidden because it contains spoiler information about the solution
Great!
What's wrong with my code?
I guess it solution is similiar to mine and it looks good. I have only one problem with that solution that you called integer from array that you are using "i". I don't think you should call array item "i" because it can be confusing. But still good job!
This comment is hidden because it contains spoiler information about the solution
As I read the instructions, it's supposed to give UPPERCASE responses. But if it works.
Does it?
makes sense ty
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 this case as in any other case I think it is sensible to avoid nesting loops.
Nested loops make for hard to understand code and do push your algorithm into a higher complexity. Depending on the problem at hand (large n) this can be a deal breaker.
This comment is hidden because it contains spoiler information about the solution
wow! adding "_" to s at beginning is really smart! so we don't need to check if the s.length() is odd or even. Thank you for your solotion. It's easy to understand.
Good solution!
Loading more items...