Skip to content

Commit 0d3e4c1

Browse files
Corrected spelling anf grammar errors in docstring for heap. (keon#783)
1 parent 339a0d2 commit 0d3e4c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

algorithms/heap/binary_heap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
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:
2+
Binary Heap. A min heap is a complete binary tree where each node is smaller than
3+
its children. The root, therefore, is the minimum element in the tree. The min
4+
heap uses an array to represent the data and operation. For example a min heap:
55
66
4
77
/ \

0 commit comments

Comments
 (0)