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.
Yes, I understand, I meant that for the same problem with a better execution on a new kata, regardless of what happens to this one
unfortunately, that's not the way kata authoring works. The akta must be in shape right at the start, if you want it to "survive" the beta pahse. And once it's approved, you shouldn't alter the requirements (unless issuez are found).
As i up my algorithm game i'll try to improve on this kata, thanks for the suggestions.
just added them, check out, first time doing this so i was a little bit confused
The idea isn't bad, but the execution is a bit meh. I would like it a lot better if performance considerations forced us to come up with some fancy encodings or datatypes. As it is, the kata allows
O(n²)
solutions, and doesn't require anything beyond straightforwardly implementing the spec in a linear fashion.This comment is hidden because it contains spoiler information about the solution
I didn´t properly know the difference of console logging and returning the value, thanks for the link