Capgemini Interview Question

explain the algorithm for checking the no is palindrome or not?