Skip to content

This project contains a very simple MinHeap implementation, as well as a visualization algorithm that displays a heap as a binary tree

Notifications You must be signed in to change notification settings

jackr276/Heap-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heap Visualizer

Author: Jack Robbins

This is a very simple project that contains an implemenation of a MinHeap, and a little algorithm that prints it out to the console like this:

Heap: [-1, 1, 0, 4, 7, 10, 2, 8, 7, 11, 9, 20, 15, 21, 5, 0, 0, 0, 0, 0]

                                    -1
                 1--------------------------------------0
       4--------------------7                 10--------------------2
  8----------7         11----------9      20----------15         21----------5

All relevant source files are in the source folder. I encourage anyone interested to have a look!

About

This project contains a very simple MinHeap implementation, as well as a visualization algorithm that displays a heap as a binary tree

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published