HCLTech interview question

Code the Fibonacci sequence not using recursion