21 Commits

Author SHA1 Message Date
Oleksii Trekhleb
6e897a0a7a Minor README updates. 2018-07-30 14:18:56 +03:00
Oleksii Trekhleb
39acb2b65d Avoid using toBeTruthy() and toBeFalsy() because of type coercion. 2018-07-26 16:14:26 +03:00
Oleksii Trekhleb
afbdb89101 Update heap documentation. 2018-07-08 04:29:12 +03:00
Correy Lim
a3d099003d Improve data-structures/heap/README.md (#94)
* Update data-structure/heap/README.md

The overuse of parenthesis in the previous description made the
explanation of a heap more diffcult to read. Following technical
writing standards, the topic of the sentence should be at the
forefront of a sentence, to give the reader an idea of what is
going to be explained in said sentence.

The mention of min heap and max heap were previously in parenthesis, in
the middle of the sentence. This change informs the reader that there
are two types of heaps, with a preface indicating which one is being
explained.

* Add min heap picture and move max heap picture

Add a picture of a min heap below the explanation of a min heap.
Move the picture of a max heap below the explanation of a max heap.

* Italicize heap terminology

Italicize the terms 'max heap' and 'min heap' to make it clear to readers that new terminology is being introduced
2018-07-08 04:27:06 +03:00
Oleksii Trekhleb
17ad4dc4d1 Upgrade packages. 2018-07-05 16:30:00 +03:00
m-maksyutin
38688f25c5 Fix the remove method for the MinHeap (#50)
* Fix LinkedList

* Fix the prepend method for the LinkedList

* Fix the remove method for the MinHeap
2018-06-05 16:17:14 +03:00
Oleksii Trekhleb
d596e1d485 Fix then > than typo. 2018-05-24 09:01:50 +03:00
Oleksii Trekhleb
ef72e2de79 Update READMEs. 2018-05-21 16:48:21 +03:00
Oleksii Trekhleb
8b057b10d0 Make it possible to change priority of PriorityQueue. 2018-05-03 06:34:32 +03:00
Oleksii Trekhleb
9c1b8e48fd Make it possible to remove from Heap. 2018-05-02 21:22:12 +03:00
Oleksii Trekhleb
c0fe2a3f16 Update Heap. 2018-05-02 20:41:13 +03:00
Oleksii Trekhleb
36bbfed6a1 Add heap sort. 2018-04-14 10:29:36 +03:00
Oleksii Trekhleb
7045392737 Add README. 2018-04-14 09:18:21 +03:00
Oleksii Trekhleb
e05d159765 Use Comparator in heap. 2018-04-12 08:25:19 +03:00
Oleksii Trekhleb
c79dfac2c5 Integrate codecov. 2018-04-04 07:39:42 +03:00
Oleksii Trekhleb
138c3d9905 Refactor MinHeap. 2018-04-03 18:17:14 +03:00
Oleksii Trekhleb
062f5a4929 Refactor MinHeap. 2018-04-03 18:04:44 +03:00
Oleksii Trekhleb
7dd977c3a4 Add comments. 2018-04-03 16:51:58 +03:00
Oleksii Trekhleb
86a4069e26 Cleanup. 2018-03-30 10:37:24 +03:00
Oleksii Trekhleb
5e75378280 Add Heap. 2018-03-30 08:07:13 +03:00
Oleksii Trekhleb
09100eab44 Add Heap. 2018-03-30 08:03:26 +03:00