i want to find an object with O(logN) and also remove with O(log N) - but no go to balanced tree implementation..
any idea's for that?
i want to find an object with O(logN) and also remove with O(log N) - but no go to balanced tree implementation..
any idea's for that?
Yes, use a skip-list. It's probabilistic data-structure with logarithmic insertion/search/removal, but without the complex balancing code of trees.