Discussion
Understand the foundational data structures in C++, including List, USet, and SSet interfaces influenced by Java Collections Framework. Learn about key mathematical concepts such as asymptotic notation, probability, and logarithms that support efficient data structure implementation and analysis.
We'll cover the following...
Additional notes
The List, USet, and SSet interfaces described before are influenced by the Java Collections Framework. These are essentially simplified versions of the List, Set, Map, SortedSet, and SortedMap interfaces found in the Java Collections Framework. The accompanying source code includes wrapper classes for making USet and SSet implementations into Set, Map, SortedSet, and SortedMap implementations.
For a superb (and free) treatment of the mathematics discussed in this chapter, including asymptotic notation, logarithms, factorials, Stirling’s approximation, basic probability, and lots more, see the
For more information on basic probability, especially as it relates to computer science, see the