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.
Oh, you are a codewars warrior, nice :) Does it get better with lower kyu katas?
My skills are just not yet there to be able to solve 1-5 kyu katas, maybe some of the 5s.
Also can you recommend materials to improve algorithmic skills? I am mainly interested in JS. If you had any ideas, that would be great.
Solutions with O(n^2) time complexity should never be the best practise in my opinion, if there is a better solution with the same readability(not mine, it looks bad without refactoring).
I see here very often, that not good solutions have been upvoted as hell.
It is kind of lame, because if you want to compare and fix your crappy solution you often only see other crappy solutions with slightly different syntax at the top.
Actually no, it doesn't because of the nested looping. Time complexity is the same: O(n^2), which is not ideal.