10. Elementary Data Structures
Exercises
10.1-1
Available in the latest revision of the IM.
10.1-2
10.1-3
Available in the latest revision of the IM.
10.1-4
10.1-5
Available in the latest revision of the IM.
10.1-6
A detailed treatment of this topic is available here.
10.1-7
Available in the latest revision of the IM.
10.1-8
Available in the latest revision of the IM.
10.2-1
Available in the latest revision of the IM.
10.2-2
Available in the latest revision of the IM.
10.2-3
Available in the latest revision of the IM.
10.2-4
Available in the latest revision of the IM.
10.2-5
Available in the latest revision of the IM.
★ 10.2-6
Available in the latest revision of the IM.
10.3-1
10.3-2
Available in the latest revision of the IM.
10.3-3
Available in the latest revision of the IM.
10.3-4
Available in the latest revision of the IM.
★ 10.3-5
Available in the latest revision of the IM.
★ 10.3-6
Available in the latest revision of the IM.
Problems
10-1 Comparisons among lists
The starred items for insertion assume that we already know the positions of new nodes.
Search
Insert
Delete
Successor
Predecessor
Minimum
Maximum
10-2 Mergeable heaps using linked lists
I recommend reading the lecture notes about mergeable heaps. It introduces a binomial heap, as specific variant of mergeable heap, that also supports two additional operations: decreasing a key of some node and deleting a node. Essentially, the text follows Problem 19-2 from the 3rd edition of the book. For a deep dive into this topic, you might want to read the full Chapter 19 from the previous edition, which is freely downloadable from the book's official website.
10-3 Searching a sorted compact list 🌟
Available in the latest revision of the IM.
Last updated