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.
Lol what? He used sort which is a built in function, also his solution is O(nlogn) when the optimal solution is O(n)
This is my favorite solution, does it the way i wanted to do it.
so use the reduce is optimial because O(n) ?
nice try
This is O(n logn). The optimal is O(n).
Im so sorry... You're going to have a daugter
i never thought this solution previously.
It was never stated that the inputs were going to be different than XX or XY
But what if the 'sperm' is nor XX or XY? I think that it's not realistic approach to solve this task.
As the rank and progress attributes are public it is a bit unnecessary to have the getters and setters there
I basically created an extra variable for no reason. -______-
Great Job.
This is what I consider clever, not using the built in function.
Really good!!
Can't get much better than that
same
Loading more items...