|
ADS
Algorithms and Data Structures
|
The SEQUENCE and the LIST (arrays, linked lists, cursors). More...
Topics | |
| Theory of sequences and lists | |
| ArraySequence.h | |
| A SEQUENCE realized with a vector. | |
| ContiguousDeque.h | |
| A double ended queue with no modular arithmetic, beyond the book. | |
| CubishArrayStack.h | |
| The cubish array stack of exercise 2.12 of Morin's book, beyond the book. | |
| CursorList.h | |
| A SEQUENCE realized with cursors, beyond the book. | |
| DualArrayDeque.h | |
| The dual array deque of section 2.5 of Morin's book, beyond the book. | |
| Fenwick.h | |
| The prefix aggregates of a sequence by the tree of Fenwick, beyond the book, over any algebra of Algebra.h, and the observer that keeps them for an ObservableArray. | |
| IndexedList.h | |
| The interfaces of chapter 1 of Morin's book for the sequences, beyond the book, as concepts of C++20. | |
| List.h | |
| The LIST of the book. | |
| ListSort.h | |
| The sort of a List by relinking its cells, beyond the book, stable, the engineered counterpart of naturalMergeSort(), which copies the items through the positions as the book does; no item is copied or moved, and the positions stay on their items. | |
| ObservableArray.h | |
| An array that tells its changes, beyond the book. | |
| OrderMaintenanceList.h | |
| The order maintenance of exercise 8.11 of Morin (his Sequence), beyond the book. | |
| Rearrangements.h | |
| Rearrangements of a vector in place, by swaps or with a small buffer. | |
| RootishArrayStack.h | |
| The rootish array stack of Brodnik, Carlsson, Demaine, Munro and Sedgewick, beyond the book. | |
| SEList.h | |
| The space-efficient list of section 3.3 of Morin's book, beyond the book. | |
| SequenceAlgorithms.h | |
| Algorithms on a SEQUENCE, beyond the book, through its positions only, so that they work on a List and on an ArraySequence. | |
| SequenceRange.h | |
| The range of the items of a SEQUENCE, beyond the book, so that the for on a range of C++ visits a sequence through its positions. | |
| SinglyList.h | |
| A SEQUENCE realized as a singly linked list, not circular and with no sentinel (exercise 4.6 of the book). | |
| SkipListSequence.h | |
| The SkiplistList of Morin, beyond the book. | |
| SmallVector.h | |
| A vector with room for \( N \) items inside itself, beyond the book. | |
| TieredVector.h | |
| The tiered vector of Goodrich and Kloss, beyond the book. | |
| TreapList.h | |
| The TreapList of exercise 7.11 of Morin, beyond the book. | |
| Treque.h | |
| The treque (triple ended queue) of exercise 2.3 of Morin's book, beyond the book. | |
| XorList.h | |
| The XOR list of the discussion of chapter 3 of Morin's book, beyond the book. | |
The SEQUENCE and the LIST (arrays, linked lists, cursors).
The definitions, the invariants and the costs of the area are in Theory of sequences and lists.