warmachine028 / datastax

A python library to visualize data-structures
https://pypi.org/project/datastax
MIT License
8 stars 1 forks source link

Trivial Implementation of Heap Trees using Arrays #4

Closed warmachine028 closed 2 years ago

warmachine028 commented 2 years ago

Yesterday I updated the library by adding heap trees (Min & Max heap).

Screenshot 2021-12-28 110444

What I actually want to do is:

Besides I will implement the same algorithm I implemented yesterday in PriorityQueue inside Array module in upcoming future, so it won't make any difference if I also did the same in the Heap Tree.

Help Required !

warmachine028 commented 2 years ago

5 Fixes this issue.

Thanks to hariuserx for his valuable implementation of heap without arrays in Java. I made small modifications in his logic and implemented the code in python :).