mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2026-03-13 08:51:02 +08:00
Update heap documentation.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Heap (data-structure)
|
||||
|
||||
In computer science, a heap is a specialized tree-based
|
||||
data structure that satisfies the heap property.
|
||||
data structure that satisfies the heap property described
|
||||
below.
|
||||
|
||||
In a *min heap*, if `P` is a parent node of `C`, then the
|
||||
key (the value) of `P` is less than or equal to the
|
||||
|
||||
Reference in New Issue
Block a user