Union Of Two Sorted Array Leetcode Question