Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

FAANG Interview DSA Series - Heap Sort, Binary Tree, Min Heap and Max Heap Tree and Interview Questions

Krish Naik via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course introduces heaps as complete binary trees, covering min- and max-heap insertion, deletion, construction, and time-complexity analysis. It applies these concepts to heap sort and the Top K Frequent Elements and K Closest Points to Origin problems.

Syllabus

Basics of Heap Sort - Full Binary Tree vs Complete Binary Tree vs Almost Complete Binary Tree
Concept of Minheap and Maxheap Tree
Insertion in Minheap or Maxheap Tree
Deletion in Minheap or Maxheap Tree
Creation of Minheap or Maxheap Tree
Time Complexity Derivation to build minheap or maxheap
Comparison Sort - Heap Sort
Interview Question - Top K frequent elements
Interview Question - K Closest Points to Origin

Taught by

Krish Naik

Reviews

Start your review of FAANG Interview DSA Series - Heap Sort, Binary Tree, Min Heap and Max Heap Tree and Interview Questions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.