KirilBangachev f31a812c46 Add Binomial Heap (#1146)
* Binomial Heap

Implementation of Binomial Heap. Reference: Advanced Data Structures, Peter Brass

* Update binomial_heap.py

* Update binomial_heap.py

* Update binomial_heap.py

- Fuller documentation of binomial heap
- Update unit tests
- Replace printing method by overwriting __str__()

* Update binomial_heap.py

- Added more tests
- Added to the documentation
- Stylistic editing
- mergeHeaps now also returns a reference to the merged heap
- added a preOrder function that returns a list with the preorder of the heap

* Update binomial_heap.py

Changed the unit tests structure

* Turned the tests into doctests
2019-09-05 07:58:37 +02:00
2019-08-29 00:53:42 +05:30
2019-09-05 07:58:37 +02:00
2019-09-04 22:06:44 +02:00
2019-07-30 15:32:13 +05:30
2019-08-14 23:24:58 +02:00
2019-06-02 12:14:18 +08:00

The Algorithms - Python

Donate  Build Status  LGTM  Gitter chat  contributions welcome   

All algorithms implemented in Python (for education)

These implementations are for learning purposes. They may be less efficient than the implementations in the Python standard library.

Owners

Anup Kumar Panwar   [Gmail   GitHub   LinkedIn]

Chetan Kaushik   [Gmail   GitHub   LinkedIn]

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Open in Gitpod

Community Channel

We're on Gitter! Please join us.

Algorithms

See our directory.

Languages
Python 99.9%
Shell 0.1%