Skip to content

Releases: datastructures-js/heap

@datastructures-js/heap-v4.0.2

13 Mar 19:58
c16acea
Compare
Choose a tag to compare

[4.0.2] - 2022-03-13

Fixed

  • ts types (again).

@datastructures-js/heap-v4.0.1

09 Mar 09:51
8b71261
Compare
Choose a tag to compare

[4.0.1] - 2022-03-09

Fixed

  • ts types.

@datastructures-js/heap-v4.0.0

22 Feb 06:26
d49da68
Compare
Choose a tag to compare

[4.0.0] - 2022-02-21

Changed

  • better code, better world.

@datastructures-js/heap-v3.2.0

05 Aug 12:41
afe9e41
Compare
Choose a tag to compare

[3.2.0] - 2021-08-05

Added

  • CustomHeap to allow constructing a heap with a custom comparator callback.

@datastructures-js/heap-v3.1.1

20 Jun 19:40
6a4d6cc
Compare
Choose a tag to compare

[3.1.1] - 2021-06-20

Fixed

  • index.d.ts

@datastructures-js/heap-v3.1.0

15 Jun 23:48
89e6665
Compare
Choose a tag to compare

[3.1.0] - 2021-06-15

Added

  • typescript.

@datastructures-js/heap-v3.0.1

28 Mar 10:06
9092d5b
Compare
Choose a tag to compare

[3.0.1] - 2021-03-28

Fixed

  • Readme

@datastructures-js/heap-v3.0.0

17 Jan 23:29
1c67f50
Compare
Choose a tag to compare

[3.0.0] - 2020-01-17

Changed

  • simplified heap nodes. preserves numbers and strings, and use object literal for key:value.
  • .heapify static function now heapify the input list as well as returning a heap insatnce.

Added

  • .fix() to fix positions of nodes in the heap.
  • .isValid to validate heap nodes are in right positions.
  • .isHeapified static function to valida if a given list is heapified.

@datastructures-js/heap-v2.0.0

06 Apr 21:37
d45faff
Compare
Choose a tag to compare

[2.0.0] - 2020-04-06

Changed

  • remove none-standard method .serialize().

Fixed

  • return inserted node in Min/Max Heap.
  • README
  • jsdoc

datastructures-js-heap-v1.2.0

08 Mar 05:35
4c7b8c1
Compare
Choose a tag to compare

[1.2.0] - 2020-03-07

Added

  • .leaf() to get the max node in a MinHeap or the min node in a MaxHeap.