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.
It belongs to a very classic category of algorithmic problems, the typical solution to this kata holds in less than 10 lines, so I think 5kyu is a fair rank and 4 kyu would be clearly undeserved. I don't know (I never could really understand) what is dynamic programming, but I think you need to find (sort of) linear solution to pass the tests, this isn't either excessive, considering the elements I indicated.
This comment is hidden because it contains spoiler information about the solution
O(2n) is the same as O(n)
Yes this is 5kyu as I saw yellow vented >_< ~~~~
kinda sus
not an issue, a question.
You're returning null/None/nil/whatever is the equivalent in PHP. (or just the wrong kind of data structure)
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