← Back
00:00

Next Palindrome Number

Uber interview questions · Medium · Coding round · 7 tests

The input num is a string of decimal digits representing a positive integer. Find the least palindromic number that exceeds num (equal does not count) and return it as a string.

Idle