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.
Wow, is a genius
This solution is awesome, I feel like a simple amateur. Congrats!
Watch me, mom (from Heaven T^T ), I am in the #1 solution!! ^///^
Name of function 'sum_two_smallest_numbers' made me suspicious (what if there is negative in array, or less 2 elements), re-reading the description, ok ok :)
This solution is nlogn I believe, which is slower than just a single pass.
This comment is hidden because it contains spoiler information about the solution
why would that be inefficient? starting with python now and I used sorted() as well.
what do you mean by "O(n log n)"?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
you can view their solution by clicking on 'View Solution'
can you solve it by o(n) please?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
how does checking the arrays truthy value not meet the condition if the arr has a length greater than 1?
This comment is hidden because it contains spoiler information about the solution
Loading more items...