Tech Mahindra Interview Question

Fibonacci series till 20 and and pattern generation