Labcorp Interview Question

The different logics to solve palindrome problem.