Merge two sorted integer arrays, remove duplicates.
Asked in the Phone screen stage.
Implement a function that takes two sorted integer arrays and returns a new sorted array containing every distinct value that appears in either input. Preserve ascending order and include each value only once.
Function input: two sorted lists of integers. Function output: one sorted list of unique integers.
def merge_unique_sorted_arrays(nums1, nums2):