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.
happy hacking
This kata was decided to stay.
Such test now exists in all languages
You do realise that if
1+2 = 2+3+4+5
, then1 = 3+4+5
?Not a kata issue.
20 < 23. You're wrong.
This comment is hidden because it contains spoiler information about the solution
am not familiar with this type of code, FeelsWeirdMan, execpt from Math.max which get the maximium from the final array
no need for ELSE clause
This comment is hidden because it contains spoiler information about the solution
Note: this solution solved using function that calculate the sum of vertical lines
it's just "stupid" if you solved it using bruteforce( iterating through all number) O(n)
solution has best comlexity ever O(NumberOfDigits(N)) = O(log(N)) ~= 1 instead of O(N) imagine if N = 10^10000000000