DEV Community

Discussion on: Solving Puzzles With High-Performance JavaScript

Collapse
 
damianrivas profile image
Damian Rivas

Came here to say this! Did you also learn this from a discrete mathematics class? 😄

Collapse
 
stefant123 profile image
StefanT123

I did, long time ago and it was forgotten until I saw this function somewhere (might be on dev.to) and that stuck in my brain, so every time I see a fibonacci I get a flash of this solution.😄