Maximise the sum of two Numbers using at most one swap between them
Given two natural numbers N1 and N2, the task is to find the maximum sum possible after swapping of a single digit between them.Examples: Input: N1 = 984788, N2 = 706 Output: 988194 Explanation: Swapping 4 from N1 with 7 from N2, we get N1 = 987788 and N2 = 406 Sum = 988194 Input: N1 = 9987, N2 = 12