TikTok Interview Question

longest palindrome subsequence. Its the same in the leetcode