Is there a .NET implementation for a list collection in such a way that both insert and search are the worst O (log (n)) operations? By default, the System.Collections.Generic.List ' Insert ' method is an O (n) operation.
In the collection of lists, I mean a massive extensible data structure. By "lookup" I mean access by index.
I suspect that this can be done using balanced trees, but it would be non-trivial to implement.
source share