3 ms·
A correct max heap is very difficult to implement from scratch during an interview. Also, shouldn't it be a min-heap?
by melony 5y ago
A correct max heap is very difficult to implement from scratch during an interview. Also, shouldn't it be a min-heap?