Question DSA-HEAP-0036
EasyWhich structure efficiently merges k sorted lists?
- A.
A hash map
- B.
A stack
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Heaps and Priority Queues question
Which structure efficiently merges k sorted lists?
A hash map
A stack
Sign up free to see the answer and a step-by-step explanation.
A queue
A min-heap holding the current front element of each list