+ 1
Project Euler Fibonacci Sequence?
So I solved the second Project Euler challenge, but is this the best way to do this? I can't help but feel like there's a better way to solve it. https://code.sololearn.com/c35U884Tc4Nc/?ref=app
2 odpowiedzi
+ 3
You can also generate the fibonacci sequence using Phi (Φ), might want to put some research into that.
+ 2
Three variables + a while loop instead of a for loop for less iterations. Looking forward to even better solutions.
https://code.sololearn.com/cg8cngFW77mm/?ref=app