Sponsored
Use these hints if you're stuck. Try solving on your own first.
Convert the number in an array of its digits.
Brute force on every digit to get the maximum number.
Solve with full IDE support and test cases