You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Data Structure/Heap/README.md
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,11 @@
3
3
A **Heap** is a tree based data structure and it is a complete binary tree which satisfies the heap ordering property. The ordering can be one of two types:
4
4
5
5
the **min-heap property:** the value of each node is greater than or equal to the value of its parent, with the minimum-value element at the root.
6
+
6
7
the **max-heap property:** the value of each node is less than or equal to the value of its parent, with the maximum-value element at the root.
7
8
9
+

10
+
8
11
**Basic Operations:**
9
12
10
13
Following are the basic operations supported by a list.
@@ -19,13 +22,11 @@ Following are the basic operations supported by a list.
0 commit comments