From 83c602c7e23994811ce801faf073d3103c03b09f Mon Sep 17 00:00:00 2001 From: Kishan Kumar Singh <122109702+12kishansingh@users.noreply.github.com> Date: Sun, 24 Mar 2024 21:51:37 +0530 Subject: [PATCH 1/2] Update README.md Line 14 -- creates min-heap --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e493e42..b2a33eb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Last but not least, I have added Leetcode Qns also which can be easily solved us - Default declarations ```c++ priority_queue pq; //creates max-heap -priority_queue> pq; //creates max-heap +priority_queue> pq; //creates min-heap ```
From 2ade04ee9179c8edbf085a8aa5eaa0deaa9fed2a Mon Sep 17 00:00:00 2001 From: Kishan Kumar Singh <122109702+12kishansingh@users.noreply.github.com> Date: Sun, 24 Mar 2024 22:02:28 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2a33eb..e493e42 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Last but not least, I have added Leetcode Qns also which can be easily solved us - Default declarations ```c++ priority_queue pq; //creates max-heap -priority_queue> pq; //creates min-heap +priority_queue> pq; //creates max-heap ```