Hacker News new | past | comments | ask | show | jobs | submit login

Dunno. IIRC Every time I have seen the "bad" Fibonacci recursive algorithm has been followed by the "good" recursive one (bottom-up), which is O(1) in size if your language/implementation does tail-call elimination...



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

Search: