write a function to find the n-th fibonacci number
Anonymous
Solved using a (overcomplicated) "dynamic programming" recursive method, runtime optimization was in the form of storing partial solutions. Accidentally stated the runtime to be O(n^2) instead of O(2^n), which I assume is where it went wrong. Could also have solved it using a simple for-loop.
Check out your Company Bowl for anonymous work chats.