Leetcode Check Palindrome Javascript Code Compiler Python