|
Wyo Java - Chapter 20 Resources |
|
Ch. 20 Lecture Notes - Set, Map, HashSet, TreeSet, HashMap, TreeMap, PriorityQueue, binary tree, binary search tree, & heap Demo Programs BinarySearchTreeWithStaticMethods - a client program with static methods such as insertNode, findNode, nodeCount, etc. Handouts Set & Map chart Worksheets Animations (some links may not work)
Programming Assignments Ch. 20 Project #1 - Write a program that uses HashSets to find the union of 2 sets, the intersection of 2 sets, the difference between 2 sets, and determine whether one set is a subset of another set Ch. 20 Project #2 - determine if a value is found anywhere in a Map. Ch. 20 Project #3 - write a MinHeap class that implements College Board's PriorityQueue interface. Ch. 20 Project #4 - write an AccountLookup class that uses a HashSet and a HashMap Ch. 20 Project #5 - write a translation dictionary that uses a HashMap Ch. 20 Project #6 - create a histogram of word frequencies with a HashMap Ch. 20 Project #7 PriorityQueueImplementationProject - implement a Priority Queue as an unordered ArrayList and as an ordered LinkedList. Ch. 20 Project #8 PriorityQueue Implementation as a Heap Project - implement a Priority Queue as a heap which in turn is based on an ArrayList. |