We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339a0d2 commit 0d3e4c1Copy full SHA for 0d3e4c1
algorithms/heap/binary_heap.py
@@ -1,7 +1,7 @@
1
"""
2
-Binary Heap. A min heap is a complete binary tree where each node is smaller
3
-its childen. The root, therefore, is the minimum element in the tree. The min
4
-heap use array to represent the data and operation. For example a min heap:
+Binary Heap. A min heap is a complete binary tree where each node is smaller than
+its children. The root, therefore, is the minimum element in the tree. The min
+heap uses an array to represent the data and operation. For example a min heap:
5
6
7
/ \
0 commit comments