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.
Messy Medians
Messy Medians
Sort by
recency
|
15 Discussions
|
Please Login in order to post a comment
accepted ! failed to import Data.Heap, so i have to implement my own heap
I managed to solve the problem with Data.Set. The trick here is to couple with some extra data to avoid data losting caused by duplicate values while doesn't impact the order.
Data.MultiSet is not found, but based on the discussion it should be available.
I know this problem is a couple of years old, but I solved it differently than the methods in the editorial, just using Data.Set. It resulted in a lot less code, and I was wondering if it would be worth adding to the editorial.
This seems impossible to solve in Clojure. Anyone else here with any success in Clojure? Help is welcome.