HubSpot interview question

Merge Sorted List and Print until k elements.