|
ADS
Algorithms and Data Structures
|
The cubish array stack of exercise 2.12 of Morin's book, beyond the book. More...
Files | |
| file | ADS/sequence/CubishArrayStack.h |
| The cubish array stack of exercise 2.12 of Morin's book, beyond the book: a LIST by rank in three levels, whose operator[] takes \( O( 1 ) \) time and whose insertions and removals take \( O( n^{1/3} ) \) amortized time, with \( O( n^{2/3} ) \) places wasted. | |
Classes | |
| class | ADS::CubishArrayStack< T > |
| a LIST by rank in three levels, \( O( 1 ) \) access and \( O( n^{1/3} ) \) amortized insertions and removals More... | |
The cubish array stack of exercise 2.12 of Morin's book, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sequences and lists.