Sequence - sellout/data-structure-zoo GitHub Wiki

This is an ADT, also known as an array (which is an unfortunately overloaded term) or list, that is usually referred to by the name of the data structure thatโ€™s used to implement it: [linked list](/sellout/data-structure-zoo/wiki/linked-list), or [vector](/sellout/data-structure-zoo/wiki/vector). It is a tightly-packed associative container that provides the operations [index](/sellout/data-structure-zoo/wiki/index), [update](/sellout/data-structure-zoo/wiki/update), the difference between this and a finite map with integral keys, is that a sequence additionally enforces the property that if [index](/sellout/data-structure-zoo/wiki/index) n container exists, then indexes for 0 to n-1 also exist.

data structures