JOIN ME:
youtube ►
patreon ►
IMPORTANT PLAYLISTS:
play list for Smart Pointers:
play list for STL:
play list for C++14:
play list for Threads In C++:
play list for C++ Interview Questions And Answer:
play list for C++ Tutoria For Beginners:
paly list for Design Patterns:
play list for Linked List Interview Questions:
play list for Data Structures:
play list for C++ MCQ:
play list for C MCQ:
play list for C Interview Questions:
play list for Type Casts:
play list for Sorting Algorithms:
In this video we will learn about std::priority_queue in C++ STL.
NOTES:
0. std::priority_queue is a container adaptor that provides constant time lookup of the
largest OR smallest element.
1. By default std::vector is the container used inside.
2. Cost of insertion and extraction is logarithmic.
3. std::priority_queue is implemented using std::make_heap, std::push_heap, std::pop_heap functions.
#std::priority_queue #STLCpp #CppNuts
Nguồn: https://blackdiamondskinserumsite.net/
Xem thêm bài viết khác: https://blackdiamondskinserumsite.net/cong-nghe/
JAJAJA buen tutorial, hablas muy rapido amigo, y como no se muy bien ingles tuve que realentizar el video xd, pero aun asi buena explicación
Wat software do u use for writing with hand
Your videos explained with code is really helpful!! thankzz a lot…Best wishes to you and keep doing the good work!!!!!!!
what software you use to draw over vs code?
Wow..this was exactly I was stuck in for a day to understand…made it really In lucid language and easy to understand…thanks a lot
love that sad face~!
it was the missing link between me and the HEAPS
by default internally it used vector<> but in min heap example why did u used vector<> as internal?
how to use vector and greater syntax in
priority_queue <pair<int,int> >pQQ;
Why you using "n" instead of std::endl? What the difference behind them and what is best to use?
I love your videos.and i started programming last year..Can u make a video on how to use cpp for competitive programming.that will be very helpful..or recommend questions on stl topics and data structures.for practice.🙏🙏
I have watched and liked most of the videos on your channel and i can say by far. You're one of the best teachers when it comes to competitive coding. Is it possible to have a playlist on "Design and Analysis of Algorithms in C++"?