Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Manoj Dixit
Heap solution, why we need index of employee

Manoj Dixit

Mar 22, 2024

Please explain with an example

0

0

Comments
Comments
P
Pete Stengera year ago

So you can insert the next interval from the same employee in the heap.

On this page