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.
having conditions will make it slow too, probably even slower.
why divide by 100
the code is readable however the code provided here is not efficiant guys as the complexity is O(n * 3). as here we loop three times instead we can use one loop with three condition and make the complexity to be O(n).
It's readablle, but where is the 'Best Practices' in this solution?
good but slow
Smart.
Very readable. Let the machine work, not a man.