Next Palindrome Using Same Digits
Understand how to identify the smallest larger palindrome by rearranging digits of a given numeric palindrome. Explore the two pointers method to efficiently solve this, and practice applying logic to generate valid next palindromes.
We'll cover the following...
We'll cover the following...
Statement
Given a numeric string, numStr, representing a numStr that can be created by rearranging its digits. If no such palindrome exists, return an empty string "".
Consider the following example to understand the expected output for a given numeric string:
input string = ...