2396. Strictly Palindromic Number
Read the full problem statement on LeetCode.
Difficulty: medium Acceptance: 88% Topics: Math, Two Pointers, Brainteaser
View full problem on LeetCode Reading material
Reference solution (spoiler · python)
# Time: O(1)
# Space: O(1)
# math
class Solution(object):
def isStrictlyPalindromic(self, n):
"""
:type n: int
:rtype: bool
"""
return False
Solution from kamyu104/LeetCode-Solutions · MIT
Similar questions