2327. Largest Number After Digit Swaps by ParityEasyYou are given a positive integer num. You may swap any two digits of num that have the same parity (i.e. both odd digits or both even digits).Return the largest possible value of num after any number of swaps. Example 1:Input: num = 1234Output: 3412Explanation: Swap the digit 3 with the digit 1, this results in the number 3214.Swap the digit 2 ..