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.
Good for Python practice for formatting.
Nice
Ok sooo for task with Large array what is the type of Sort you advises ?
Eh, no? There's nothing more to this than the simple condition in this solution...
Good solution, but there are more actions happening under the hood, even if the entry looks concise
The sorting approach is generally less efficient for this specific task, especially when dealing with large arrays, due to the higher time complexity of the sorting algorithm. The looping approach focuses on finding only the two smallest numbers, resulting in better performance for this particular requirement.
how dose the code runs? your code gives me sort is not a function 😕
This comment is hidden because it contains spoiler information about the solution
If you want to request adding packages, please post it here
Fixed in Python.
Nope, these tests will never be generated, but description should specify the input range (which has been raised above)
Approved
done
python new test framework is required. updated in this fork
what is the point in storing the result of running sort method on the array if it's an 'in-place' algorithm?
Loading more items...