ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
base.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/*------------------------------ File base.h -------------------------------*/
3/*--------------------------------------------------------------------------*/
23/*--------------------------------------------------------------------------*/
24/*----------------------------- DEFINITIONS --------------------------------*/
25/*--------------------------------------------------------------------------*/
26
27#ifndef __ADS_base
28 #define __ADS_base
29/* self-identification: #endif constant */
30
31/*--------------------------------------------------------------------------*/
32/*------------------------------ INCLUDES ----------------------------------*/
33/*--------------------------------------------------------------------------*/
34
35#include "ADS/core.h"
36
37#include "ADS/ADT.h"
40#include "ADS/algorithm/Hanoi.h"
68#include "ADS/compression/PPM.h"
83#include "ADS/dictionary/Trie.h"
99#include "ADS/graph/Graph.h"
100#include "ADS/graph/Grid.h"
102#include "ADS/graph/ListGraph.h"
103#include "ADS/graph/Matching.h"
105#include "ADS/graph/MaxFlow.h"
107#include "ADS/graph/Paths.h"
108#include "ADS/graph/Properties.h"
110#include "ADS/graph/Visit.h"
117#include "ADS/memory/CellHeap.h"
118#include "ADS/mfset/ListMFSet.h"
119#include "ADS/mfset/MFSet.h"
122#include "ADS/numeric/Catalan.h"
124#include "ADS/numeric/Matrix.h"
128#include "ADS/numeric/RSA.h"
131#include "ADS/numeric/Rational.h"
155#include "ADS/queue/ArrayQueue.h"
156#include "ADS/queue/Dequeue.h"
158#include "ADS/queue/MinDeque.h"
159#include "ADS/queue/MinQueue.h"
169#include "ADS/search/Minimum.h"
171#include "ADS/search/PGMIndex.h"
172#include "ADS/search/Selection.h"
180#include "ADS/sequence/List.h"
184#include "ADS/sequence/SEList.h"
190#include "ADS/sequence/Treque.h"
191#include "ADS/sequence/XorList.h"
192#include "ADS/set/Bag.h"
193#include "ADS/set/BloomFilter.h"
195#include "ADS/set/BoolSet.h"
197#include "ADS/set/HashMultiset.h"
199#include "ADS/set/ListSet.h"
209#include "ADS/sort/Heapsort.h"
211#include "ADS/sort/KnuthSorts.h"
212#include "ADS/sort/MergeSort.h"
215#include "ADS/sort/QuickSort.h"
217#include "ADS/sort/ShellSort.h"
219#include "ADS/sort/StrandSort.h"
220#include "ADS/sort/TreeSort.h"
221#include "ADS/stack/ArrayStack.h"
223#include "ADS/stack/MinStack.h"
224#include "ADS/stack/MultiStack.h"
227#include "ADS/string/Alignment.h"
228#include "ADS/string/Anagrams.h"
231#include "ADS/string/Huffman.h"
233#include "ADS/string/Lyndon.h"
245#include "ADS/string/WordBreak.h"
246#include "ADS/succinct/BPTree.h"
247#include "ADS/succinct/BVGraph.h"
255#include "ADS/succinct/K2Tree.h"
258#include "ADS/tree/AVLTree.h"
260#include "ADS/tree/BPlusTree.h"
261#include "ADS/tree/BTree.h"
262#include "ADS/tree/BinaryTree.h"
266#include "ADS/tree/CursorTree.h"
268#include "ADS/tree/FingerTreap.h"
269#include "ADS/tree/HashedTreap.h"
273#include "ADS/tree/ParentTree.h"
278#include "ADS/tree/SearchTree.h"
280#include "ADS/tree/Treap.h"
281#include "ADS/tree/Tree.h"
282
283/*--------------------------------------------------------------------------*/
284
285#endif /* base.h included */
286
287/*--------------------------------------------------------------------------*/
288/*---------------------------- End File base.h -----------------------------*/
289/*--------------------------------------------------------------------------*/
The abstract data types of the book, as concepts of C++20: SEQUENCE, SET and DICTIONARY (chapter 3),...
The AVL tree of Adelson-Velsky and Landis, beyond the book [see SearchTree.h for the Red-Black tree o...
The recurrences of divide et impera with parts of different sizes, , and , which the master theorem ...
The alignments of two strings and of exercises 13.7 to 13.9 of the book: spaces are inserted in or...
The shortest paths between all the pairs of nodes, section 13.5: with the nodes , a path is -bound if...
The dynamic storage allocation of Knuth, beyond the book, on a memory of words simulated by a vector...
The approximate string matching of section 13.1: an occurrence of the pattern in the text with err...
The approximation algorithms of section 19.2 and of the exercises 19.6 and 19.8.
The arithmetic code (chapter 12, Statistical Coding, of Ferragina's book), exact and in integers.
A binary tree in a positional vector, beyond the book: the root in the place 0, the children of the p...
The static GRAPH with vectors of adjacency of section 9.4 [see Graph.h]: the adjacent nodes of all th...
The QUEUE of the book [see ADT.h] realized with a circular vector of places, the place 0 following t...
A SEQUENCE [see ADT.h] realized with a vector: the position of an item is its index,...
The STACK of the book [see ADT.h] realized with a vector of a given capacity : the items are in the ...
The ordered tree of any degree in bits by its balanced parentheses: a visit in depth writes an open ...
The B+-tree of order of the reality check of chapter 6, the search tree of the file systems and of t...
The B-tree of Bayer and McCreight, beyond the book [see BPlusTree.h for the B+-tree of chapter 6,...
The compression of the adjacency lists of Boldi and Vigna (chapter 15, Compressed Data Structures,...
The bag of exercise 1.5 of Morin's book, beyond the book: a USet [see SetInterfaces....
A static sequence of balanced parentheses, 1 for an open one and 0 for a closed one,...
The integers of any length of Knuth (4.3.1): a sign and the magnitude as a vector of digits (limbs) i...
The binary counter of bits of the amortized analysis: is the least significant bit,...
The arithmetic on integers of bits, vectors of bits from the least significant one,...
The binary search of section 1.2 in a sorted vector : is compared with the middle item of the part ...
The classic problems on binary trees and on binary search trees, written once for any representation ...
The binary TREE of the book: an ordered tree where each node has at most two children,...
The binary tries of the integers of bits, beyond the book: a SORTED SET of keys ,...
The streams of bits on which the integer codes are written and read [see IntegerCodes....
The vector of bits on which the succinct structures and the integer codes of ADS are built: the bits ...
The trie of exercise 13.3 of Morin's book, beyond the book: a SORTED SET of strings of any length,...
The broadword tricks of Knuth (section 7.1.3 of The Art of Computer Programming), beyond the book: op...
The B-tree of chapter 14 of Morin's book, beyond the book, on a BlockStore [see BlockStore....
The store of blocks of section 14.1 of Morin's book, beyond the book: a disk simulated in memory,...
The filter of Bloom, beyond the book: a set that may answer yes for an item it does not hold,...
The variants and the analysis of the filter of Bloom [see BloomFilter.h for the standard one],...
The SET of the integers in as a boolean vector of section 8.1: contains(), insert() and remove() in ...
The branch-&-bound algorithms of section 19.3 and of the exercises 19.9 to 19.12: the enumeration of ...
The transform of Burrows and Wheeler and the compressor built on it (chapter 14, Block-Sorting Compre...
The canonical code of Huffman (chapter 12, Statistical Coding, of Ferragina's book): the lengths of ...
The numbers of Catalan, 1, 1, 2, 5, 14, 42, and so on: counts the binary trees of nodes (so the bin...
A heap of cells of two fields with a garbage collector, beyond the book: the memory of a LISP,...
The hash table with lists of overflow of section 7.2.1, a realization of the DICTIONARY [see ADT....
An ordered tree realized with lists of children, beyond the book: the nodes in a vector,...
The closest pair of a set of points of the plane, the two points at the least Euclidean distance,...
The change with the fewest coins (introduction of chapter 14): the greedy choice takes the largest co...
The game of the coins in a line: coins of values lie in a row, and two players take in turn the fir...
The examples of the introduction and of section 13.4 of chapter 13:
A double ended queue with no modular arithmetic, beyond the book: the variant of the ArrayDeque of Mo...
The convex hull of a set of points of the plane (section 16.1), the smallest convex polygon that co...
Counting Sort (section 2.7.5) of integers in : counts the occurrences of , then each is written ti...
The cubish array stack of exercise 2.12 of Morin's book, beyond the book: a LIST by rank in three lev...
The cuckoo hashing of Pagh and Rodler, beyond the book: each key is in one of the two places and o...
A binary tree with cursors, beyond the book: the nodes in a vector, each with its value and the place...
A SEQUENCE [see ADT.h] realized with cursors, beyond the book: the cells of the lists are the places ...
An ordered tree with cursors, beyond the book: the nodes in a vector, each with its value and the pla...
The DEQUEUE (double ended queue) of exercise 4.9, a sequence changed at both ends,...
The SET on any DICTIONARY with a foreach (sections 8.4 and 8.5): ChainedHashSet and OpenHashSet on th...
The table with direct access of chapter 7: when the keys are the integers in an interval of size ,...
The square tiling (BOUNDED TILING, the DOMINO LIMITATO of the book) of chapter 18: squares to cover ...
The dual array deque of section 2.5 of Morin's book, beyond the book: a LIST by rank made of two stac...
The polynomial halves of the pairs of table 19.1 of the conclusion, problems close to NP-hard ones bu...
A static directed graph whose adjacency lists are coded by Elias-Fano [see EliasFano....
The Elias-Fano representation of a non-decreasing sequence of integers in (chapters 11,...
The quicksorts beyond the quicksort of Montresor's book [see QuickSort.h for it and its improvements ...
The empirical entropies against which the compressors of this folder are measured.
The enumeration of the feasible solutions by backtrack (section 16.2): a solution is a vector ,...
The Eulerian cycles and trails of a graph, oriented or not: a trail is a path that uses each edge exa...
The sorts by exchanges of items, beyond the book, all in place:
The tree of an arithmetic expression (the parse tree), beyond the book: a binary tree [see BinaryTree...
Arithmetic expressions with a STACK [see ADT.h], beyond the book: the operands are nonnegative intege...
The sort of a file larger than the memory, beyond the book, as Knuth describes it for tapes,...
The sort of atomic items in the two-level memory [see TwoLevelMemory.h], by merging and by distribut...
The FM-index of Ferragina and Manzini (chapter 14, Block-Sorting Compression, of Ferragina's book,...
The PRIORITYQUEUE [see PriorityQueue.h] on a Fibonacci heap, the structure that section 11....
The FIFTEEN PUZZLE of section 19.5 (the GIOCO DEL QUINDICI of the book, Samuel Loyd,...
The treap with finger search of exercise 7.9 of Morin, beyond the book: a treap [see Treap....
Two uses of the maximum flow of section 15.2 [see MaxFlow.h]:
The real (fractional) knapsack of section 14.1: a fraction of each object, of largest profit and vo...
The front coding of a sorted dictionary of strings, beyond the book: adjacent strings share a prefix,...
The generation of the basic combinatorial objects of Knuth (section 7.2.1 of The Art of Computer Prog...
Two problems of dynamic programming on a matrix of rows and columns, each cell solved from its neig...
The visits of a GRID, the implicit graph whose nodes are the cells of a matrix and whose edges are ...
The towers of Hanoi: moving disks from the peg source to the peg dest, one at a time and never on a ...
The hash functions of section 7.1.
The multiset on a hash table (exercise 8.10): a counter of occurrences per item, which the insertion ...
The treap that stores no priorities (exercise 7.6 of Morin), beyond the book: the treap of Seidel and...
The max-heap on a vector built by insertions, the construction of Williams, beside the bottom-up one ...
The PRIORITYQUEUE [see PriorityQueue.h] on a heap.
The max-heap on a vector and heapsort (section 10.1.4): the children of the place are and ,...
The heuristics of section 19.4 and of the exercises 19.13 and 19.16 to 19.19: feasible solutions,...
Two problems of dynamic programming on a row of houses, where the choice of each house depends only ...
The wavelet tree shaped by the code of Huffman of Mäkinen and Navarro: a sequence of symbols of in ...
The code of Huffman (reality check of section 14.4): a prefix code, no code being a prefix of another...
The oriented graph on its matrix of incidence, exercise 12.2 of Morin's book, beyond the book: the m...
The interfaces of chapter 1 of Morin's book for the sequences, beyond the book, as concepts of C++20 ...
The indexed skip list, beyond the book: the skip list of Pugh [see SkipList.h] whose links carry thei...
Insertion Sort (section 2.7.2), as one sorts a hand of cards: is inserted in the sorted prefix ,...
The codes of the integers of chapter 11, Integer Coding, of Ferragina's book: self-delimiting binary ...
The search by interpolation of section 12.1 in a sorted vector of numbers: in the part the key is l...
The cover of a segment by intervals: among closed intervals , the fewest whose union contains the se...
Greedy algorithms on intervals of the line:
The binary tree of Jacobson in bits (chapter 15, Compressed Data Structures, of Ferragina's book): t...
The -tree of Brisaboa, Ladra and Navarro (chapter 15, Compressed Data Structures, of Ferragina's book...
The relatives of the knapsack in which an item can be taken many times, and the counting versions of ...
The 0-1 knapsack of section 13.6: objects of profit and volume , positive integers,...
The tour of the knight (exercise 16.6): a path of the knight that visits every square of an board on...
Two hash tables of Knuth, beyond the book [see ChainedHashTable.h and OpenHashTable....
Two searches of a sorted vector from Knuth, beyond the book [see BinarySearch.h for the binary search...
The internal sorts of Knuth that the book leaves out, beyond the book:
The RedBlackTree of Morin (chapter 9), a left-leaning red-black tree that simulates a 2-4 tree,...
The compressors of Lempel and Ziv (chapter 13, Dictionary-Based Compressors, of Ferragina's book,...
The linear partition problem (also the painter's partition, or the bottleneck partition of a chain): ...
The SET on a hash table whose foreach follows the order of insertion (exercise 8.9): a LIST keeps the...
A QUEUE [see ADT.h] realized as a singly linked list with a pointer to the first cell,...
The GRAPH with lists of adjacency of section 9.4 [see Graph.h]: for each node the LIST of its adjacen...
The MFSET on lists of section 10.2.1 [see MFSet.h], each element knowing the head of its list: find()...
The PRIORITYQUEUE [see PriorityQueue.h] on a list.
The ranking of a list, the distance of each item from the tail, in the memory and in the two-level me...
The SET as an unsorted LIST of section 8.2: contains(), insert() and remove() in ,...
The LIST of the book: a SEQUENCE [see ADT.h] realized as a bidirectional circular list of cells with ...
The local optima of a vector and of a binary tree, found without looking at all the items.
The longest common subsequence (LCS) of and , the reality check of section 13.7 of the book: ,...
The tree of losers of a tournament among players, the structure of the merge of sorted sequences (K...
The ordered tree of any degree in bits by LOUDS, the level-order unary degree sequence of Jacobson (...
The Lyndon factorization and the least rotation of a string, beyond the book.
The MFSET of section 10.2, the union of disjoint sets: MFSet( n ) makes the components ,...
The solutions of the recurrences of section 2.9, as orders of growth [see Growth]:
Matchings, the sets of edges of a graph no two of which share an end beyond the capacities of the end...
The multiplication of a chain of matrices of section 13.3: of size , , and the order of the products...
The GRAPH with an adjacency matrix of section 9.3 [see Graph.h]: the weight of , or nothing,...
The product of two square matrices (section 12.4):
The maximum flow of section 15.2 in a network , with integer capacities, and the minimum cut.
The segments (subarrays) of largest sum and their variants, of chapter 2 (A Warm-up) of the Pearls of...
The binary search tree of Morin whose nodes keep the size, the depth and the height of their subtree ...
The randomized meldable heap of Gambin and Malinowski, beyond the book, as section 10....
Merge Sort (section 2.7.3): the two halves of the vector are sorted recursively and merged by mergePa...
The double ended queue with the minimum of exercise 3.16 of Morin's book, beyond the book: push_front...
The QUEUE with the minimum of exercise 3.15 of Morin's book, beyond the book [see ADT....
The STACK with the minimum of exercise 3.14 of Morin's book, beyond the book [see ADT....
The minimum spanning tree of an unoriented connected graph with weights on the edges (section 14....
The minimum of a vector (section 1.2): min() keeps the minimum so far and compares it with each of t...
The search of the first place where a monotone predicate becomes true, when no upper bound on that pl...
Monte Carlo algorithms of chapter 17, quick and wrong with a bounded probability, which independent ...
STACKs in one structure [see ADT.h], beyond the book: the items of all the stacks are cells of a sing...
The multikey quicksort of Bentley and Sedgewick, as chapter 7, Sorting Strings, of Ferragina's book p...
The queens (exercise 16.5): queens on an board, no two on a row, a column or a diagonal.
The nondeterministic algorithms of section 18.2 simulated by enumeration (section 18....
The arithmetic of section 17.2 and of exercises 17.1-17.3, on unsigned integers of 64 bits:
The hash table with open addressing of section 7.2.2, a realization of the DICTIONARY [see ADT....
The optimal binary search tree: the keys are searched with the weights (frequencies or probabilitie...
The order maintenance of exercise 8.11 of Morin (his Sequence), beyond the book: a list of elements w...
The piecewise geometric model index of Ferragina and Vinciguerra, beyond the book: a learned index on...
Prediction by partial matching (chapter 12, Statistical Coding, of Ferragina's book),...
Three classic problems on the palindromes of a sequence of items, and the eertree.
The general schemes of the techniques of design of algorithms, beyond the book, as functions of the p...
The tree as a vector of parents: the nodes are , and is the parent of , or -1 if is a root.
The longest balanced strings of parentheses inside a text of characters, where open and close are th...
Three trees balanced by partial rebuilding, from exercises 8.8 to 8.10 of Morin, beyond the book: bin...
Problems on the paths of a GRAPH solved by the visits of section 9.5 and by the topological order,...
The Patricia trie with the blind search of Ferragina and Grossi, beyond the book: the compacted trie ...
Perfect hashing of a static set, beyond the book: a function is perfect on a set of keys if it has ...
Pigeonhole Sort (exercise 4.11) of the pairs with keys in : the value of each pair goes at the end o...
The product of two polynomials of coefficients each, the vectors and from the constant one,...
The search by prefix in a sorted dictionary of strings, beyond the book: the strings prefixed by ar...
An ordered tree in a vector in preorder, beyond the book: the place holds the value of the -th node ...
The PRIORITYQUEUE of section 10.1, with decreasing priority, in two concepts.
The problems in NP of chapter 18, each with its polynomial certificate, which checks a proposed solut...
Properties of a GRAPH and of its trees, decided or measured by the visits of section 9....
The pseudopolynomial algorithms of section 19.1 and of the exercises 19.1 to 19.5.
Algorithms that use a QUEUE [see ADT.h] only through its operations, beyond the book:
Quicksort (section 12.2): partition(), the perno() of the book, rearranges around the pivot ,...
The public key cryptosystem RSA of the reality check of section 17.3, on integers of 64 bits,...
Random numbers as Knuth treats them (chapter 3 of The Art of Computer Programming),...
The random queue of exercise 2.2 of Morin's book, beyond the book: a bag in which push() puts an item...
The uniform sampling of of items, as chapter 3 (Random Sampling) of Ferragina's Pearls of Algorithm...
The randomized binary search tree of Martínez and Roura (exercise 7.14 of Morin), beyond the book: a ...
Rank and select on a static vector of bits of bits with 1s (chapter 15, Compressed Data Structures...
The exact rational numbers of Knuth (section 4.5.1 of The Art of Computer Programming),...
The double ended queue with the minimum of exercise 3.16 of Morin's book in worst-case time per oper...
The QUEUE with the minimum of exercise 3.15 of Morin's book in worst-case time per operation,...
The rear coding of a sorted dictionary of strings, beyond the book, and a compact dictionary on it (s...
Rearrangements of a vector in place, by swaps or with a small buffer: the partition into three classe...
The polynomial reductions of chapter 18: a function from the inputs of to the inputs of ,...
The rootish array stack of Brodnik, Carlsson, Demaine, Munro and Sedgewick, beyond the book: a LIST b...
The space-efficient list of section 3.3 of Morin's book, beyond the book: a doubly linked list of blo...
Two solvers of the satisfiability of a formula in conjunctive normal form [see Problems....
The scapegoat tree of Galperin and Rivest, the general balanced tree of Andersson (section 8....
The binary search tree (ABR) and the Red-Black tree of the book, as a DICTIONARY [see ADT....
The number of ways of writing a sequence of items as a concatenation of words, the counting version...
Selection Sort (section 2.7.1): the minimum of the part still to sort is swapped with ,...
The selection of section 17.1: the item of rank , the -th smallest, , the median for ,...
Algorithms on a SEQUENCE [see ADT.h], beyond the book, through its positions only,...
Problems of optimization on a sequence, solved by a scan or by the dynamic programming of the longest...
Questions on a sequence that a sort or a single scan answers faster than the comparison of all the pa...
The range of the items of a SEQUENCE [see ADT.h], beyond the book, so that the for on a range of C++ ...
SequenceStack is the STACK [see ADT.h] simulated with the operations of any SEQUENCE,...
The interfaces of chapter 1 of Morin's book for the sets, beyond the book, as concepts of C++20 [see ...
The operations of chapter 8 on any SET that can be copied and has the foreach, forEach( f ): the unio...
Shell Sort (section 15.1), a local search that lowers the number of inversions: an insertion sort of ...
Shortest Job First (exercise 14.5): programs of durations , run one after the other,...
The shortest paths of chapter 11 from a node of an oriented GRAPH whose edges have a cost [see Grap...
A SEQUENCE [see ADT.h] realized as a singly linked list, not circular and with no sentinel (exercise ...
The SkiplistList of Morin, beyond the book: a sequence with access, insertion and removal at any inde...
The skip list of Pugh, beyond the book: a sorted list of the keys with express lanes,...
A DICTIONARY [see ADT.h] realized with a vector of the pairs sorted by key, beyond the book: lookup(...
The intersection of two sorted sets, the core of the resolution of a query of several words by an inv...
The SET as a sorted LIST of section 8.3: insert() in , min() and max() in , the operations of two set...
Searches in sorted vectors beyond the place of a given item [see BinarySearch.h]: the minimum of a ro...
Sorting networks, beyond the book: sequences of comparators , , each putting the smaller of and in ...
The space-efficient sorted set of Morin (his SESSet, exercise 4.13), beyond the book: a SET [see ADT....
A sparse matrix on orthogonal lists, beyond the book (section 2.2.6 of Knuth): each nonzero entry is ...
Algorithms that use a STACK [see ADT.h] only through its operations, beyond the book:
The largest gain of buying and selling a stock with at most , or with exactly , transactions,...
The strand sort, beyond the book, on a list with pointers [see List.h]: a strand, i....
Breaking a string: a string of length has to be cut at the places , and each cut costs the length of...
The exact string matching, beyond the book: the occurrences of a pattern of characters in a text o...
Four classic problems on the subsequences of sequences , , of lengths , , , relatives of the longest...
Two problems on a sequence solved by the dynamic programming of chapter 13:
The Sudoku (reality check of section 16.3 and exercise 16.7), of size with the numbers ,...
Problems on strings solved by a suffix array [see SuffixArray.h] or a suffix tree [see SuffixTree....
The suffix array of a text of symbols, beyond the book: is the starting place of the -th smallest ...
The suffix tree of a text of symbols, beyond the book: the compact trie [see RadixTree in Trie....
The sizes of the hash tables that restructure themselves (section 7.4): a size that is a power of two...
The threaded binary search tree of Perlis and Thornton, beyond the book: a missing left child is repl...
The TreapList of exercise 7.11 of Morin, beyond the book: a sequence with access, insertion and remov...
The treap of Seidel and Aragon, beyond the book: a binary search tree on the keys that is also a heap...
The PRIORITYQUEUE [see PriorityQueue.h] on a tree.
The tree sort (exercise 6.1 and its solution): the items are inserted in a search tree [see SearchTre...
The ordered TREE of the book, realized with pointers to the parent, to the first child and to the nex...
The treque (triple ended queue) of exercise 2.3 of Morin's book, beyond the book: a LIST by rank whos...
Two digital search trees of strings, beyond the book:
The two-level dictionary of strings, beyond the book: the lower level is the front coding of the sort...
The two-level memory model of Aggarwal and Vitter, simulated so that the algorithms of the external m...
A QUEUE [see ADT.h] with no duplicates, beyond the book, with one of two policies for an item that is...
Universal hashing, beyond the book [see HashFunctions.h for the fixed functions of section 7....
The visits of a GRAPH of section 9.5 and their applications, each in time on lists or vectors of adj...
The independent set of weighted intervals of section 13.2: among intervals , open on the right,...
Is it Italian?
The x-fast tries of Willard, beyond the book: SORTED SETs of the integers of bits,...
The XOR list of the discussion of chapter 3 of Morin's book, beyond the book: a doubly linked list wh...
The y-fast trie of Willard, beyond the book, in the form of section 13.3 of Morin's book: a SORTED SE...
The anagrams (exercise 16.8): the strings made of all the characters of a given one,...
The core of ADS, included by the two sets of the library [see base.h and advanced....
The GRAPH of chapter 9 and its realizations.
The classes of anagrams among words of length at most : two words are anagrams if one is a permutati...