HubSpot Interview Question

merge two sorted array and follow up