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.
I decided to go the long way, and then saw this. Hurray, i learned somthing new
ahhaha, i spent about a 20 minutes for solution, and then a saw it.
instant facepalm when I saw this
10/10
how come, I didnt even know this method existed.
Lmao my jaw dropped when I saw this. Never knew this existed.
i also laughed when i saw this solution because i over complicated mine like maniac
Had no idea this existed! that's a clever and funny solution!
What would you return in case this situation happened?
I mean, my if statement involving Substring and stuff was not awfully messy and ran relatively fast but there was a function ready for that? Snap!
Nice, did not know this! Good to know!
Bro.. i used while loop and if-else for this @@. It took me so longgg
oh
No need, the numbers passed are assumedto be always positive
Same as me mate,
same as me.
Loading more items...