MENU

Fun & Interesting

Lecture 74: Heaps in C++ || Heap Sort || Insertion/Deletion in Heap || Priority Queue STL

CodeHelp - by Babbar 505,452 lượt xem 3 years ago
Video Not Working? Fix It Now

In this Video, we are going to learn about Heaps, Insertion/Deletion , heapify algo, Heap Sort algorithm etc.

There is a lot to learn, Keep in mind “ Mnn bhot karega k chor yrr apne se nahi hoga ya maza nahi aara, Just ask 1 question “ Why I started ? “

Visit Crio: https://www.crio.do/redeem/6ce859d/

Discord Server Link: https://discord.gg/feSQvVXMrd

Course Flow: https://whimsical.com/dsa-4-placement-by-love-babbar-C7JX2fJ8hprv9ivEHkArjD@2Ux7TurymNF9zkFahVLk

Notes Link: https://drive.google.com/drive/folders/1q4y9wbRsN3A-20hsv_jNRe0382nRMq0_?usp=sharing

Slides Link: https://drive.google.com/file/d/1pGxCwyc9XljsmuLVjz7h-cRdHSAis4Ob/view?usp=sharing

Code Links: https://github.com/loveBabbar/CodeHelp-DSA-Busted-Series

Questions Links:

- Build Min-Heap: https://www.codingninjas.com/codestudio/problems/build-min-heap_1171167?leftPanelTab=0&utm_source=youtube&utm_medium=affiliate&utm_campaign=Lovebabbar

Do provide you feedback in the comments, we are going to make it best collectively.

Connect with me here:

Instagram: https://www.instagram.com/lovebabbar1/
Twitter: https://twitter.com/lovebabbar3
Telegram Group Link: Love Babbar CODE HELP
https://telegram.me/lovebabbercodehelp

My Editor: https://www.instagram.com/rishu.rsingh/?hl=en

Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.

Timestamps:

00:00 - Introduction to Heaps & CBT
07:06 - Promotion
07:57 - Max-Heap or Min-Heap
09:37 - Insertion in heap
15:45 - Heap Class Implementation
16:20 - Insertion Code
21:48 - Deletion in Heap
25:25 - Deletion Code
31:00 - Heapify Algorithm
38:30 - Heapify Code
48:55 - Heap Sort
56:00 - Heap Sort Code
59:33 - Priority Queue

#DSABusted #LoveBabbar

Comment