Maximum value after one swap
Filed under Drishti-Soft Solutions
The question
Given a number m, print the maximum possible value after performing at most one swap between any two digits.
No write-up yet. Related questions below have one.
Related Drishti-Soft Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.