Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some invalid references and more spelling errors. #786

Merged
merged 11 commits into from
May 31, 2021
Next Next commit
Corrected spelling anf grammar errors in docstring for heap.
  • Loading branch information
cliftonamccook committed May 30, 2021
commit 661034b726400d3c0e834814698d82235efd018a
6 changes: 3 additions & 3 deletions algorithms/heap/binary_heap.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Binary Heap. A min heap is a complete binary tree where each node is smaller
its childen. The root, therefore, is the minimum element in the tree. The min
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:

4
/ \
Expand Down