Ecom Express Interview Question

Code for palindrome string Using 2 pointer method