Meta Interview Question

inline valid palindrome check