Problem Statement: You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively.
public void merge(int[] nums1, int m, int[] nums2, int n) { // I used the Three Pointer Backward Merge approach to merge two sorted arrays in-place.