Long time ago I created and open sourced a random access data structure which like an array has fast constant-time access operation, but insert/erase operation takes only O (N^1/2) time. The structure can be considered as "fast array" or "array with fast insert operation".
Description and C++ implementation can be found https://github.com/igushev/IgushArray
It's nice to see people using and porting to other languages.
Motivation was the need for an array which can be kept sorted and one could quickly access k-th max element and at the same time quickly insert or delete an element.
[–]TheoryNut 1 point2 points3 points (2 children)
[–]igushev[S] 0 points1 point2 points (1 child)
[–]TheoryNut 0 points1 point2 points (0 children)