Welcome to the Python screen.
The question is on your right: Merge Two Sorted Arrays. Read through the requirements first.
Run and submit your code as often as you need. You also have five interviewer messages this session - want to talk through your approach, or are you ready to start coding?
Given two arrays of integers nums1 and nums2, both sorted in non-decreasing order, return a new array containing all elements from both arrays in non-decreasing order. The function should preserve duplicates and handle empty arrays correctly.
def merge_sorted_arrays(nums1, nums2):