Again prompted by Albion, I propose you yet another simple (yep, trust me: it is simpler than it looks) challenge sporting a Fibonacci variation.
Again, let me remind you that you could follow me when joining CodeWars registering from here (so that you can more easily see my solutions and stuff).
Thank you, @cloudninja for sharing the challenge. I was embarrassed in the end, but my solution did work, so itās not all bad. Very impressed by the best solution. But then what newbie wouldnāt be. Iām sure thereās a gotcha, even in that approach. Have you done any benchmarking on the solutions to discover their weaknesses? What really is the ābestā solution? (Rhetorical question, donāt answer.)
While not sure about which was the best solution, if you allow me to answer the rhetorical question, I would just say āthe one that gave the most fun to its creatorā; sometimes I play with performances, sometimes I do that trying to do a one-liner and so on