A "growable array" (aka "vector") typically uses a backing array until it runs out of space. Then it makes a new, bigger array (e.g. 2x length) and copies elements over from the old one. Anyone know of a data structure that uses some linked list-esque strategy to avoid copying?
-
-
Yeah this is a good point
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.