4 ms·
ohh come on. Nobody ever needed Fibonacci or Factorial for anything, but if you bomb those after a few clarifying questions (like not knowing the initial values
by KeplerBoy 2y ago
ohh come on. Nobody ever needed Fibonacci or Factorial for anything, but if you bomb those after a few clarifying questions (like not knowing the initial values of fib or it's definition) I'm not sorry.
Factorial is just a for loop and with Fibonacci you might want to talk a bit about recursion and caching. That's it.
- fullstackchris 2y agoThings like these are rote memorized solutions that fill what could otherwise be useful problem solving or software knowledge space in my brain. They're dumb.
- whstl 2y agoThen don't memorize. I'm OP and as I said I give the solution, candidate only has to code. Like I would with FizzBuzz. People still fail.