Bloomberg Interview Question

coding type questions such as Fibonacci sequence