Skip to main content

157. Implementing max-heaps and min-heaps

Medium
Technical
Share

How would you implement a max-heap? How would that differ from a min-heap?

Submit Your Solution

Sign up to share your answers and engage with other product managers!