A positive integer is considered a superpalindrome if it is a palindrome and is also the square of a palindrome.
Given two strings left and right representing positive integers, return the count of superpalindromes in the inclusive range left, right
Constraints:
left.length, right.length
left and right consist of only digits.
left and right cannot have leading zeros.
left and right represent integers in the range
left is less than or equal to right.
A positive integer is considered a superpalindrome if it is a palindrome and is also the square of a palindrome.
Given two strings left and right representing positive integers, return the count of superpalindromes in the inclusive range left, right
Constraints:
left.length, right.length
left and right consist of only digits.
left and right cannot have leading zeros.
left and right represent integers in the range
left is less than or equal to right.