Problems > Numeric Palindrome > Editorial

Numeric Palindrome — Solution & Editorial

Back to the Problem

Compare the decimal string with its reverse.

Complexity: O(number of digits)