GEICO Interview Question

leetcode medium. largest palindromic number from a string.