go-heaps icon indicating copy to clipboard operation
go-heaps copied to clipboard

Reference implementations of heap data structures in Go - treap, skew, leftlist, pairing, fibonacci

Results 16 go-heaps issues
Sort by recently updated
recently updated
newest added

Have added a useful link about the heap in data structures from the scaler topics.

When using Delete( item) and node == p.root, detach() return nil and do nothing

Add benchmark testing

enhancement
help wanted
good first issue
hacktoberfest

This PR tries to make `maxBucketSize` more close to `(log n) + 1`. i.e, it returns 1 for size 1, returns 2 for size 2,3, returns 3 for size 4,5,6,7...

Fibonacci Heap needs to implement the Extended interfaces

enhancement
help wanted
good first issue
hacktoberfest

https://en.wikipedia.org/wiki/B-heap

enhancement
help wanted
good first issue
hacktoberfest

https://en.wikipedia.org/wiki/Radix_heap

Add Adjust, Delete and Meld methods to Treap Heap

enhancement
help wanted
good first issue
hacktoberfest

Add Adjust, Delete and Meld methods to Leftlist Heap

enhancement
help wanted
good first issue
hacktoberfest

Skew needs to implement the Extended Interface

enhancement
help wanted
good first issue
hacktoberfest