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.
why we used pool(), dont it make replication in the two list or increase the size of the queue
I think we should use remove() here . I tried both remove() and poll() both works perfectly fine why it so
Please explain
Heaps: Find the Running Median
You are viewing a single comment's thread. Return to all comments →
why we used pool(), dont it make replication in the two list or increase the size of the queue I think we should use remove() here . I tried both remove() and poll() both works perfectly fine why it so Please explain