• + 0 comments

    Does anyone think it is possible to meet the performance requirements with clojure? It seems not, given that no one has even come close. I have an algorithm that is O(nlogn) to initialize, and basically O(1) for each query and update. I know, technically it has to be at least O(logn) but the coefficient seems small enough that for the sizes here the performance is relatively constant across all the tests.

    I agree with @paulpach... it's an interesting challenge to find the right algo and learn about "mutable" structures in clojure. Would be more interesting if it was known to be solvable!