Given a number in the form of a string S , find the greatest number that can be formed within K swaps
S
K
Lets take an example.
Suppose
Previous
Problems with Backtracking
Next