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.
lammmmb
I think it will take more time as sorting is generally O(nlogn) while you can compare len(a), len(b) faster than sorting.
And that's why you use CodeWars.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
thank you both, I will investigate
It depends on what's called built-in. It's the standard library. Even though there can always be non-standard implementations of any language, relying on the standard library is normal.
As for non-standard libraries on CW: https://github.com/Codewars/codewars.com/wiki/Language-Python
yep, sure: https://docs.python.org/3/library/ : everything that is not labelled "Built-in..." is a module present by default (may depend on the python version/installer for some of them, I guess)
@B4B, sorry 'bout the
flag
... what python modules are present by default on CW? is there a list of such defaults for each language? thanksspoiler flag, guys...
@Ashish8796: they are not "built-ins", but the related module is present by default so they always are at hand, if that's your question.
i tried thats why i asked.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
beutiful <3
Loading more items...