← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
Given a string num that represents a palindromic integer, return the smallest palindromic integer that is strictly larger than num and can be obtained by rearranging its digits. If no such palindrome exists, return an empty string.