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.
but avoids storing values in alternative variables.
I mean, if you want a one-liner, you can't do much better, I think. But if you don't mind adding one line, you can get the max and min values above. But for this purpose, it's pointless, because it's not making a notable improvement in terms of performances.
How would you get rid of that?
haha didn't know phoebe is a programmer too !
Argh my eyes! My eyes!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Why have so many people tagged this as "clever"? It might be best practice in production but it was explicitly excluded in the problem statement.
Unnecessarily compares a and b twice