Depop Interview Question

they asked to create algorithm for fibonacci