Releases: datastructures-js/heap
Releases · datastructures-js/heap
@datastructures-js/heap-v4.0.2
[4.0.2] - 2022-03-13
Fixed
- ts types (again).
@datastructures-js/heap-v4.0.1
[4.0.1] - 2022-03-09
Fixed
- ts types.
@datastructures-js/heap-v4.0.0
[4.0.0] - 2022-02-21
Changed
- better code, better world.
@datastructures-js/heap-v3.2.0
[3.2.0] - 2021-08-05
Added
- CustomHeap to allow constructing a heap with a custom comparator callback.
@datastructures-js/heap-v3.1.1
[3.1.1] - 2021-06-20
Fixed
- index.d.ts
@datastructures-js/heap-v3.1.0
[3.1.0] - 2021-06-15
Added
- typescript.
@datastructures-js/heap-v3.0.1
[3.0.1] - 2021-03-28
Fixed
- Readme
@datastructures-js/heap-v3.0.0
[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
[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
[1.2.0] - 2020-03-07
Added
.leaf()
to get the max node in a MinHeap or the min node in a MaxHeap.