Given a integer, find the maximum number that can be formed from the digits javascript
Answers
Answered by
2
Answer:
Given a number, write a program to find a maximum number that can be formed using all of the digits of this number.
Examples:
Input : 38293367
Output : 98763332
Input : 1203465
Output: 6543210
Similar questions