Priority Queue Explained | Min and Max Heap | Custom Comparator
HTML-код
- Опубликовано: 7 янв 2025
- Hey guys, In this video, we're going to learn about PriorityQueues in Java with Custom Comparator.
Also, we will go through its implementation in Java with MIn Heap and Max Heap data Structure.
🎟 Join this channel to get access to perks:
/ @dailycodebuffer
RECOMMENDED COURSES
🎬 Spring Boot + React Full Stack Web Application with Tailwind CSS - • Spring Boot + React Fu...
🎬 Spring Security Full Course | From Registration to Login - • Spring Security Tutori...
🎬 Microservices using SpringBoot | Full Example - • Microservices using Sp...
🎬 Event-Driven Microservices with CQRS Design Pattern - • Implement CQRS Design ...
🎬 Implement SAGA Design Pattern using Spring boot and Axon Framework - • Implement SAGA Design ...
🎬 Spring Data JPA Tutorial | Full In-depth Course - • Spring Data JPA Tutori...
🎬 Deploy Springboot Microservices to Kubernetes Cluster - • Deploy Springboot Micr...
🎬 Automate Microservices deployment with Github Actions - • GitHub Actions Tutoria...
🎬 Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
🎬 Node JS Full Course for Beginners: Learn in 2 Hours - • Node JS Full Course fo...
🎬 Express.js Tutorial - Beginner | 2021 - • Express.js Tutorial - ...
🎬 Redis CLI Tutorial | Complete Course - • Redis CLI Tutorial | C...
BE MY FRIEND:
👨💻. Website: www.dailycodebu...
👨🏫 Facebook: / dailycodebuffer
🐦 Twitter: / dailycodebuffer
📸 Instagram: / dailycodebuffer
🎮 GitHub: github.com/dai...
MY FAVOURITE GEAR:
👨💻 My Macbook Air M1: amzn.to/3eFXlID
💻 ASUS ROG Zephyrus G14, 14": amzn.to/32xsXhf
💻 ASUS ROG Zephyrus G14, 14" (US): amzn.to/3xa6X6m
🎤 My Main Mic: amzn.to/3qDl0z0
🎤 My Main Mic (US): amzn.to/3awzUj7
🎙 My Secondary Mic: amzn.to/3sOZCJW
🖥 My LG Monitor: amzn.to/3zhLY3e
🖱 My Mouse: amzn.to/3eDpRKT
⌨️ My Keyboard: amzn.to/32xthMZ
RECOMMENDED BOOKS:
📙 Mastering Spring Boot 2.0 (Kindle): amzn.to/3HsOiHu
📙 Mastering Spring Boot 2.0 (US): amzn.to/3tHNUy5
📙 Building Microservices(Kindle): amzn.to/3gsA1jL
📙 Building Microservices(US): amzn.to/3dDnfNn
📙 Spring Boot in Action: amzn.to/32Nf3qW
📙 Spring Boot in Action (US): amzn.to/32DkeX9
📙 Spring Microservices in Action: amzn.to/3mQ4sCH
📙 Spring Microservices in Action(US): amzn.to/32G3Hl7
🎻 MUSIC:
🎵 Hear the Noise (Sting): www.youtube.co...
“Sound effects obtained from www.zapsplat.com“
#priorityqueue #dsa #java #DailyCodeBuffer
00:01 Priority Queue in Java explained
01:57 Java's priority queue uses a min heap
04:00 Understanding complete binary tree and properties of min heap
05:55 Explanation of Min Heap operation
07:59 Min Heap representation using array
10:09 Explaining insertion and parent-child relationships in a min-heap
12:10 Explanation of Min Heap
14:15 Understanding Min and Max Heap with Custom Comparator
16:15 Creating a custom comparator for Priority Queue
18:18 Creating a priority queue with customer objects
20:04 Implementing a custom comparator to sort data based on a specific attribute.
21:55 Explanation of priority queue with min and max heap.
Crafted by Merlin AI.
Best explanation on internet about priority queue
Please make video on DFS, BFS, graph, tree traversing.
u really explaining well, waiting for your rest all DSA topics.
Thanks 🙏🏻
correction at 01:16 abstract queue is a partial implementation of queue
Thanks for wonderful explanation. Your explanations are always very detailed. Nice!
Super Easy explanation Examples .. Thanks for putting this vid .
Thanks a lot! Your explanation is cool and it helped me understand how Priority Queue works internally!
Glad it was helpful!
Nice explanation. Need example for max heap as well.
Super work .. please make video tree and graph ds too
Thanks
Planning on it
hey Shabbir thanks for this video. enjoyed it thoroughly. Can you make videos on multithreading i like your teaching style.
Thanks 🙏🏻
You contents are really good. Thank you!
Thank you so much 😊
Please make a detailed video on OOPS in java
Bro if possible, pls make a tutorial on Vertx framework. Thanks in advance 🙂
Thanks for Videos
Thanks 🙏🏻
Bhai there are a few videos on lit html, if you can create a lit html beginning to advance crash course in single video & after it spring with lit-html by a project, Bro it is my humble request, because there is not a single video on spring and lit. If you accept my request then please let us know a tentative date for the course starting. Please reply 🙂🙂
hi very good brother , pleas add video master spring batch for call foreign rest API and get JSON data and read , mapping to request process and save in database by API Thank you
please create video from spring batch microservice
Thank u shabbir
Thanks 🙏🏻
Keep Supporting ❤️
Please make the videos on all DSA topics it will be great
Planning on it
Hi shabbir, hope you doing great. Btw where do learn all topics from??
Yes, thanks for asking
From different resources over some blogs and some videos and share with my perspective
best tnks buddy
Happy to help
Please do one crud operation using spring boot with micro service
We have the same in the channel with complete micro service implementation
👍
Bro how one can get permanent WFH job. Which company gives ?
Bro we want videos on graph ql.
Shabbir Nice Hair style 😎
😀😂
Thank u
golu beta masti nahi
Content is good, but the language is a complete disaster:D
Sorry about that
Could you please help me how can i improve?
@@DailyCodeBuffer, your speaking is good already