The solution for this problem and problems in merge intervals, use a library that has queue and heap data structures. During an interview what am I supposed to do? For sure I would not be able to use the library on a coding assessment/codesignal type interview. Please suggest an alternative
Type your question above this line.
Course: https://www.educative.io/collection/5668639101419520/5671464854355968
Lesson: https://www.educative.io/collection/page/5668639101419520/5671464854355968/5726607939469312