Pregunta de entrevista de HubSpot

Merge Sorted List and Print until k elements.