Finastra interview question

Disguised Fibonacci problem to solve/write an algorithm for.