Leetcode 479. Largest Palindrome Product
Given n (1 ≤ n ≤ 8), find the largest palindromic integer that can be expressed as the product of two n-digit numbers and return it modulo 1337. The core challenge is generating candidate palindromes in descending order and efficiently checking whether each can be factored into two n-digit factors.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.