Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that, if you coded these two Fibonacci functions in e.g. Python 3, the "naive" solution remains correct as n goes into triple digits, while the "fancy" one runs into floating point error and then range overflow...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: