3 ms·
16 years here and I failed a fibo question a few years ago. I don't do live coding well and it's rare to do that kind of "classic" recursion in a JS app. I've s
by lj3 9y ago
16 years here and I failed a fibo question a few years ago. I don't do live coding well and it's rare to do that kind of "classic" recursion in a JS app. I've since added it to a list of practice questions I go over before I start interviewing, just in case somebody asks it.
- keithnz 9y agowhat I missed was that these are supposed to be practice questions, so while they are sucky questions, they are question worth practice as opposed to good questions to ask
- zumu 9y agoI hate fib as an interview question as well, but for the record the non-recursive while loop implementation is preferable till tail call recursion lands in major browsers.