Swap digits between two equally long numbers, position by position, to make their difference as small as possible — using the fewest swaps.
Swap digits between two equally long numbers, position by position, to make their difference as small as possible — using the fewest swaps.
Opens with the full question.