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.
instead of map(val => Number(val)) you can just write map(Number)
"one distinct country" in description is Ukraine
if array were huge you would do it three times too ?
What would you do if there were (a, b, c, d, e, f, g, h....) ?
I think if one of calculated "min" is 0 it would be better to stop iteration because "arr" can be huge
This comment is hidden because it contains spoiler information about the solution
I found it. Thanx
Would you mind to explain what your code is doing ?
you should read about graph theory
you must return NEW instance of Vector but you change input
Why this kata is tagged as "OBJECT-ORIENTED PROGRAMMING" ?
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 are not allowed to use the lru_cache decorator from the functools module for this task."
It would be better if basic tests included not only chars but strings too.
Loading more items...