For a quiz question that displayed code for computing fibonacci numbers by making an array,

the question was,

"An integer takes 4 bytes of storage space or memory.

**How much memory does the code need for n = 10^7?"**

However, the question is sort of flawed because for n=10^7 you'll need really big data types than just **int** to compute the Fibonacci values.

Read more… (63 words)