Morgan Stanley interview question

fibonacci, generator, pandas vetorization, data query