In this lesson, we discussed the concept of heaps and priority queues. In the lab assignment, we will use Java’s PriorityQueue class to sort a file using the heapSort algorithm.
This now concludes our coverage of different methods of data storage in the curriculum guide. As you continue in computer science, you will no doubt learn about other data structures and algorithms. Keep reading and learning! |