Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Union-based heaps

Union-based heaps

Binary heap, problems and how to solve them with Skew and Pairing heaps #Haskell #Python #CS (slides from KyivPy 11 talk)

Oleksii Kachaiev

October 26, 2013
Tweet

More Decks by Oleksii Kachaiev

Other Decks in Programming

Transcript

  1. •push = O(log N) •pop = O(log N) •merge =

    O(N+M) •build = O(N) Binary Sunday, October 27, 13