theodesp / go-heaps

Reference implementations of heap data structures in Go - treap, skew, leftlist, pairing, fibonacci
MIT License
96 stars 29 forks source link

Add skew heap. #20

Closed Syfaro closed 5 years ago

Syfaro commented 5 years ago

Another one!

I saw the refactoring you did afterwards on the previous one and tried to match that style a bit more. I would've named the package skew to be consistent but my linter suggested that skew.SkewHeap sounds too much like a stutter.

theodesp commented 5 years ago

Amazing!