Tokopedia Interview Question

Code palindrome string and optimize is with memoization