Update README.md

This commit is contained in:
marina 2023-08-02 13:52:45 -07:00 committed by GitHub
parent c04d598bfa
commit 3eb6a7c828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@
<br>
* heap is a data structure capable of giving you the smallest (or the largest) element in constant time, while adding or removing the smallest (or the largest) element on logarithmic time. however, adding a new element can be `O(N)`.
* heap is a data structure capable of giving you the smallest (or the largest) element in constant time, while adding or removing the smallest (or the largest) element on logarithmic time.
* a heap is a binary tree with these properties:
* it must have all of **its nodes in a specific order**, and