Skip to content

Releases: datastructures-js/heap

@datastructures-js/heap-v4.3.3

08 Jan 03:08
Compare
Choose a tag to compare

[4.3.3] - 2024-01-07

Fixed

  • default compare function for MinHeap

@datastructures-js/heap-v4.3.2

20 Jun 06:00
Compare
Choose a tag to compare

[4.3.2] - 2023-06-19

Fixed

  • ts types.

@datastructures-js/heap-v4.3.1

08 Jan 14:47
Compare
Choose a tag to compare

[4.3.1] - 2023-01-08

Fixed

  • lint config.

@datastructures-js/heap-v4.3.0

08 Jan 14:35
Compare
Choose a tag to compare

[4.3.0] - 2023-01-08

Added

  • toArray to convert the heap into an array without sorting.

@datastructures-js/heap-v4.2.2

24 Dec 12:16
Compare
Choose a tag to compare

[4.2.2] - 2022-12-24

Fixed

  • add iterable for ts definitions.

@datastructures-js/heap-v4.2.1

23 Dec 23:33
Compare
Choose a tag to compare

[4.2.1] - 2022-12-23

Fixed

  • typo in readme.

@datastructures-js/heap-v4.2.0

23 Dec 22:48
Compare
Choose a tag to compare

[4.2.0] - 2022-12-23

Added

  • Symbol.iterator to iterate on heaps pop.

Fixed

  • .fix() to also fix heap leaf value in addition to nodes positions.

@datastructures-js/heap-v4.1.2

05 Sep 05:12
Compare
Choose a tag to compare

[4.1.2] - 2022-09-04

Fixed

  • Optimize .fix() to run in O(n) runtime instead of O(n*log(n)).

@datastructures-js/heap-v4.1.1

16 Aug 03:53
Compare
Choose a tag to compare

[4.1.1] - 2022-08-15

Fixed

  • add types to package.json

@datastructures-js/heap-v4.1.0

30 May 22:04
Compare
Choose a tag to compare

[4.1.0] - 2022-05-30

Added

  • push, pop & top as alias methods for insert, extractRoot & root