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
the Description told us use
trim()
, but actually needn't.This is cheat! 👍😉
ohh shit bro i worte 8 lines of code to this program,but you finished this program in one line ,nice man......
The variables at the top should be put inside the function (will probly fix it). Remember, your function is called multiple times so they need reset.
Not an issue, it's a quesiton.
This comment is hidden because it contains spoiler information about the solution
Kotlin, actual and expected are flipped in Random Tests.
You should mention that's Kotlin, actual and expected are flipped in Random Tests. It's a problem with your code btw, nobody told you the upper limit is 2000 right?
This comment is hidden because it contains spoiler information about the solution