Pergunta de entrevista da empresa HubSpot

Merge Sorted List and Print until k elements.