Statement
You are given a string num consisting of digits from num. The resulting palindromic number must not have leading zeros.
Note: You may reorder the digits freely, and you must use at least one digit from the
numstring.
Constraints:
num.lengthnumconsists of digits