What is Heap Data Structure | Types, Applications, Implementation & Standard Heap Operations

preview_player
Показать описание
A Heap is a special Tree-based data structure in which the tree is a complete binary tree.
It follows the Heap Property -
1. Max-Heap: In a Max-Heap the key present at the root node must be greatest among the keys present at all of it’s children. The same property must be recursively true for all sub-trees in that Binary Tree.
2. Min-Heap: In a Min-Heap the key present at the root node must be minimum among the keys present at all of it’s children. The same property must be recursively true for all sub-trees in that Binary Tree.

Applications -
1) Heapsort sorting algorithm
2) Graph algorithms like - Prim's minimal-spanning-tree algorithm and Dijkstra's shortest-path algorithm.
3) A priority queue can be implemented with a heap or a variety of other methods.
---------------------------------------------------------------------------------------------
In this tutorial we will see the working of Deletion Operation in AVL tree. We will also implement the deletion operation AVL tree with rotations in C++ Programming language. We will also compare BST insertion vs AVL insertion.
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Support Simple Snippets by Donations -
---------------------------------------------------------------------------------------------
Timecodes -
00:00 Introduction
00:36 Definition of Heap DS
05:38 Applications of Heap
06:56 2 Ways to implement Heap
14:00 Heap Operations
---------------------------------------------------------------------------------------------
Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

#heap #datastructures #heapdatastructure #algorithms #trees
Рекомендации по теме
Комментарии
Автор

This is the best playlist for DSA right now. 👍

milindsharma
Автор

Your earlier pronounciation of Dijkstra was hilarious. Thanks a lot for these videos. You make better content than paid courses for free imo

fireship
Автор

After 2 to 3 years, your playlist will be the most viewed ones for D's and algo....

bhanuteja
Автор

Thank-you for providing this most valuable tutorial.
You are a gentleman and a scholar.

WilhelmDrake
Автор

Just a kind information, you are still helping a lot of us... Do continue the great work. Forever grateful.. Thank You sir.

Thelearner-dcsd
Автор

Currently i m in 1 sem...i m quite sure that in my 7 sem also i'll be watching this playlist buddy..great job♥️♥️♥️

himanshubhatt
Автор

This is the best DS course ...plz complete this playlist as soon as possible

zavier
Автор

This video marks me finishing this playlist! Thanks for the awesome content!
Will be eagerly waiting for the future videos!!

peace! lol

susmitsingh
Автор

Sir I am thankful to you with my inner heart.

salilshukla
Автор

@6:22 The Dijkstra's algorithm is pronounced as "Dy-kstra" or "Deek-stra". Thank for the vide. Very helpful.

thestarinthesky_
Автор

Your explanation of heap structures is much clearer than my professor’s lectures. Thank you for these videos!

MrBluesbabe
Автор

Sir, we getting close to the End Sem. Sir, can you please upload the remaining lectures ASAP.
Thank you.🤗

katikaarunkumarreddy
Автор

By how much time, entire series will be uploaded

tech_wizard
Автор

Sir, can we have a notes (Offline) which you kept at your website.Can you post it in a pdf format so that we can refer at any time and during exams, when there is a lack of internet.

bharathdeepak
Автор

After watching codewithharry(arrays), striver(recursion) and apna college I can say this is the best playlist I have found yet. I learned from him(sorting, tree, heap and graph) thank you @simple snippets

gopal
Автор

6:17 It's pronounced as 'Dyke- Struh' algorithm.😊

Aakash
Автор

Waiting for next video of this playlist

riddhijaju
Автор

I thought I'd finally know how to pronounce Dijkstra but when you approached it and said that even you are confused about it, i laughed my ass off. Somethings just bring us Indian Engineering students together. HAHA

arjun
Автор

I hope you explain hash table, Thank you so Much!❤😀

georgemagdy
Автор

Aree Sir ye to btao kab aayega next video, Abhi to graph bhi nhi padha. B.tech khatam hone wala hai

shwetpandey
join shbcf.ru