In this chapter, we have learned about another efficient data structure, named heap. When we implement priority queues using a heap, they are considered maximally efficient implementations. We have also learned about another efficient sorting method named heap sort, which can be achieved through a heap data structure. Here, we are going to conclude our discussion regarding data structures for this book. In the remaining chapters, we are going to focus on advanced algorithms, built-in functions for algorithms, and data structures, along with functional data structures at the end. First, we are going to explore the world of dynamic programming in the next chapter.




















































