Very elegant! Thank you
maybe I'm wrong but that solution is not correct. look what happens with this test case - longest(['f', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k', 'l'], 2) the result should be - 'b' but it is 'f'
maybe there is something to resolve
http://screencloud.net/v/y47 http://screencloud.net/v/qdPO
very good kata but I feel like it should be in difficulty more than 5
Great kata!
where is the sorting in this solution?
[4, 1, 2, 3, 6] => [ [ 4, 6 ], [ 1, 3 ], [ 2, 4 ] ]
I've completed 4kyu kata, I'm level 3, and received 1 honor, it's OK? Previously it was 5 honor for 4kyu kata.
worthy kata!
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Very elegant! Thank you
maybe I'm wrong but that solution is not correct.
look what happens with this test case - longest(['f', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k', 'l'], 2)
the result should be - 'b' but it is 'f'
maybe there is something to resolve
http://screencloud.net/v/y47
http://screencloud.net/v/qdPO
very good kata but I feel like it should be in difficulty more than 5
Great kata!
where is the sorting in this solution?
[4, 1, 2, 3, 6] => [ [ 4, 6 ], [ 1, 3 ], [ 2, 4 ] ]
I've completed 4kyu kata, I'm level 3, and received 1 honor, it's OK? Previously it was 5 honor for 4kyu kata.
worthy kata!
This comment is hidden because it contains spoiler information about the solution