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.
Short n clear!
quite clear and "understandable"
This comment is hidden because it contains spoiler information about the solution
Is this brute force? What's the time complexity of this solution? Anyone?
This comment is hidden because it contains spoiler information about the solution
Let say you have input array equal
[50, 100, 70]
and a max distance is30
.The recuresive function will result with
0
, but this kata expectnull
in such scenario.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Woooah!!! How did that solution pass? :)
This comment is hidden because it contains spoiler information about the solution
Clever recursive solution, but confused why the return statement needs 'or null'? BiggestCount by default should return 0 if ls is an empty array. Or maybe I'm missing something?
Mainidea .This solution has enumerated all possible cases.
Time conversion is a duplicate to many katas.
;-)
This comment is hidden because it contains spoiler information about the solution
Loading more items...