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.
I do find it somewhat ironic that you used code which obfuscates the action in a function called 'humanReadable'
Not a dig or a criticism, just an observation 🤓
O(n) time baybee
oh sorry not O(n^2) but the time complexity is still O(n * l) (l being the amount of unique letters) when the optimal solution is O(n + l)
How is this O(n^2) if first loop has fixed length?
😉
Lmao
HAHA
Only issue with this is the time complexity is O(n^2) vs O(n) for some other solutions (like mine >:D)