UKG Interview Question

Is this word a palindrome?

Interview Answer

Anonymous

Apr 14, 2025

I used python for it and showed 3 ways. 2 pointers to the front and back and compare pointers till they cross, Python's built-in reverse function, or splice with [::-1].