Find the largest palindrome made from the product of two n-digit numbers.
Since the result could be very large, you should return the largest palindrome mod 1337.
Example:
1 | Input: 2 |
Note:
The range of n is [1,8].
1 | public class Solution { |
Find the largest palindrome made from the product of two n-digit numbers.
Since the result could be very large, you should return the largest palindrome mod 1337.
1 | Input: 2 |
The range of n is [1,8].
1 | public class Solution { |