Unfortunately, it is almost impossible to avoid such solutions with a kata like this 🤷♂️
This comment is hidden because it contains spoiler information about the solution
It is very clever. Nice!
Do I even want to know what's going on here?
No this is sorcery >:D
Wow, are you a wizard?
Thanks, appreciate that. Programmed badly for 3 years and better in the last 2.
You could try refactoring my solution if you like it. I learned a lot by doing that with others solutions on codewars. Try to rewrite it in your own style and make it better.
efficient and elegant code. How long have you been programming?
cool, thanks for the link
I can't take credit for how cleverly ASCII was designed. Check out Tom Scott's take on character encodings here for some interesting history:
I think that this is not best practice but removing space like this (charCodeAt % 32 === 0) is very clever...Good Job Man
Wouldn't this be O(nlogn) since every is only iterating over the elements to the right of e?
What is this even saying?