diff --git a/lectures/22_priority_queues/README.md b/lectures/22_priority_queues/README.md index 5e6d1c7..1b75c7d 100644 --- a/lectures/22_priority_queues/README.md +++ b/lectures/22_priority_queues/README.md @@ -140,6 +140,7 @@ Lambda is new to the C++ language (part of C++11). But lambda is a core piece of - The STL priority_queue is a max heap. - You need to include <queue> in order to use the STL priority_queue. Below is a simple [example](max_heap.cpp): +```cpp #include #include @@ -160,6 +161,7 @@ int main() { return 0; } +``` - The above program will print: