HCLTech interview question

Oops with real world example Palindrome Fibonaci Factorial Triangle program