Brillio Interview Question

asked to write palindrome and fibonacci series code in preffered language