We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Hey, I find your comment to be very usefull, but there's 1 thing I didn't got, why saving bigger elements in minHeap and smaller elements in maxHeap. Thanks in advance!!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Running Median
You are viewing a single comment's thread. Return to all comments →
Hey, I find your comment to be very usefull, but there's 1 thing I didn't got, why saving bigger elements in minHeap and smaller elements in maxHeap. Thanks in advance!!