StartXLabs interview question

third was Fibonacci series