From afbdb8910123f5722e040993881459c3c9ef3559 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Sun, 8 Jul 2018 04:29:12 +0300 Subject: [PATCH] Update heap documentation. --- src/data-structures/heap/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data-structures/heap/README.md b/src/data-structures/heap/README.md index 799c3fd8..8986b19e 100644 --- a/src/data-structures/heap/README.md +++ b/src/data-structures/heap/README.md @@ -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