Problem 233 This problem was asked by Apple. Implement the function fib(n), which returns the nth number in the Fibonacci sequence, using only O(1) space.