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.
I implemented it with using multiset via 2 min max heaps, but still timed out on two test cases. The PrioritQueue you linked is some strange monadic thing I don't understand.
Messy Medians
You are viewing a single comment's thread. Return to all comments →
I implemented it with using multiset via 2 min max heaps, but still timed out on two test cases. The PrioritQueue you linked is some strange monadic thing I don't understand.
What about this one? https://hackage.haskell.org/package/pqueue-1.2.1 - The performance characteristics are perfect.