Online Assessment2026-08-12
Priority Queue problem focused on implementing an efficient solution using heaps.
AI-Expanded — inferred from the question title, not from the original candidate report
Given an array of $k$ sorted linked lists, merge them into a single sorted linked list using a min-heap to efficiently track the smallest current element across all lists. Your solution should achieve a time complexity of $O(n \log k)$, where $n$ is the total number of nodes, by maintaining the heap size at $k$ throughout the merging process.
Context & Summary
45-minute online coding test focusing on algorithmic problem-solving and data structures.
💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.
Loading editor...
AI can automatically infer and generate example test cases for this question based on standard algorithmic constraints.
InterviewDigest