Merge K Sorted Linked Lists
Merge K sorted linked lists.
Input: lists = [[2,2,3],[1,5]]
Output: [1,2,2,3,5]
Explanation: Extracts the smallest current node iteratively using a priority queue to build a single merged and sorted linked list.
1 answer published. Last candidate submission on Sep 5 2026, 8:45pm PDT. Interview question asked to Software Engineers interviewing at Veeam Software, SpaceX, Stitch Fix and other companies. Original question asked: Merge K Sorted Linked Lists. Question last reported by a candidate interviewing at App Annie for a Software Engineer interview on Sep 6 2026, 9:15am PDT.