What's that link for?
This is fun to do and very clever, but such unreadable code.
I was interested at beginning why there is that strange range [-59, 60], but after a while I understood why.
Actually beacause we can choose any number in mangle we can even go further and make range exactly [-62, 62] in this case.
But it is very not optimal.
Generating all permutations.
Had the same idea, this is definetly the best answer as it uses maths which is always
the desired approach over using a while loop, solving this equation mathematical requires
knowledge of log so I can understand people doing while loops
Why use a map here?
The same thing could have been achieved with a forEach or a for...of
Furthermore; if a coder has solved the kata in the specified language, they will be able to see the comment, even if it is spoiler flagged, otherwise not.
it's supposed to hide the spoiler comment from the dashboard on the main page.
What is spiler flag supposed to do in the comment to a solution?
No need to delete topics, could be helpful to others in the future ;)
Yes I found my error, thank you.
I don't know how to delete this topic.
Their perimeter is 90, not 91.