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.
It seems Data.PQueue, Data.Heap, and Data.MultiSet all cannot be found... so I'm not sure of the data structure to use, unless I should implement my own? I've seen below that Data.MultiSet and Data.PQueue are suggested packages with efficient data structures to solve this, but I keep getting a "package not found" error. Does anyone know why?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Messy Medians
You are viewing a single comment's thread. Return to all comments →
It seems Data.PQueue, Data.Heap, and Data.MultiSet all cannot be found... so I'm not sure of the data structure to use, unless I should implement my own? I've seen below that Data.MultiSet and Data.PQueue are suggested packages with efficient data structures to solve this, but I keep getting a "package not found" error. Does anyone know why?