Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Java Data Structures and Algorithms
·
Module 7
Search Trees, Heaps, and Priority Queues
1
Binary Search Tree: Implementation and Operations
Implement a Binary Search Tree (BST) with search, insertion, and deletion operations.
2
Validating a Binary Search Tree
Validate if a given binary tree is a BST.
3
Self-Balancing Trees: AVL Rotations
Explain the need for self-balancing trees and perform AVL tree rotations.
4
AVL Tree Insertion and Rebalancing
Implement insertion into an AVL tree with automatic rebalancing.
5
Implementing Binary Heaps with Arrays
Implement a binary heap (max-heap and min-heap) using an array.
6
Building a Heap from an Unordered Array
Build a heap from an unordered array in linear time using the heapify-down operation.
7
Implementing Heap Sort
Implement heap sort.
8
Heap-based Priority Queues and Top-K Problems
Implement a priority queue using a binary heap and solve top-K element problems.
Previous module
Trees: Traversals and Problems
Next module
Hashing and Tries