1def merge(nums1: list[int], nums2: list[int]) -> list[int]:2 # Your code here3 pass
Solve the problem first before reviewing the solution!