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.
Just click attempt because there are no sample tests.
there is no sample test for this kata. You'd have to write a test for yourself
I can't agree with you anymore. So many people like write a long statement in a line……
checked it again,you're right。
Nope, bigger numbers replace smaller ones. If it was done in reverse order, you would be correct.
Hello,maybe there something wrong with your solution——the request is [Find the largest integer N],so you shuold break the loop when you find 's',or it will be modified the smaller number。
But strangely enough,you solution can pass the test.
???why I failed to run sample test, but attempt can be passed?