Goldman Sachs logoGoldman Sachs
Coding·60 minMembers

Merge K Sorted Lists (incl. K = 3)

Members only

Merge K sorted linked lists into a single sorted linked list. Goldman has asked both the general K-list form and an explicit K=3 variant ("merge three sorted lists in one go").

SWE
linked-list
heap
merge
medium
Frequency
Low
Last asked
2025-06-09
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...