The first set of assigned reading prior to Wednesday, February 1st is an review of simple data structures and of complexity analysis. Linked lists (two questions below), which we will revisit prior to spring break to prepare for covering graphs, should be a review of CS202 material; feel free to review those notes as needed. For our class, please read:
Data Structures and Other Objects Using C++:
If you do not have the primary textbook, you can use the following free alternative text material instead:
Once you have completed the readings, answer the following questions:
In the context of data structures, why would using a language with the Standard Template Library (STL) be advantageous?
Suppose I wanted to implement a sequence container by using an linked list using a single pointer (e.g., front). What would be the complexity in terms of Big-O for the following operations:
To submit your reading assignment, you must upload a text/PDF file onto Canvas prior to the deadline.