DXC Technology Interview Question

Self-Intro How do you approach when given a problem statement Write code for a palindrome