Assume there is a function 'swap(int[] nums, int i, int j) that swap the element at index

Posted Date: