Releases: datastructures-js/heap
Releases · datastructures-js/heap
@datastructures-js/heap-v4.3.3
[4.3.3] - 2024-01-07
Fixed
- default compare function for MinHeap
@datastructures-js/heap-v4.3.2
[4.3.2] - 2023-06-19
Fixed
- ts types.
@datastructures-js/heap-v4.3.1
[4.3.1] - 2023-01-08
Fixed
- lint config.
@datastructures-js/heap-v4.3.0
[4.3.0] - 2023-01-08
Added
toArray
to convert the heap into an array without sorting.
@datastructures-js/heap-v4.2.2
[4.2.2] - 2022-12-24
Fixed
- add iterable for ts definitions.
@datastructures-js/heap-v4.2.1
[4.2.1] - 2022-12-23
Fixed
- typo in readme.
@datastructures-js/heap-v4.2.0
[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
[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
[4.1.1] - 2022-08-15
Fixed
- add types to package.json
@datastructures-js/heap-v4.1.0
[4.1.0] - 2022-05-30
Added
- push, pop & top as alias methods for insert, extractRoot & root