Heap
Yes, it's a complete binary tree that always stores minimum element at the
root.
Here is the jar file of a heap
of integers for you to download. You must have java to run it (just double
clicking on it after download).
This demonstration is implemented by the 2nd year (2003-2004)
- ปกานต์ อัศวพงษ์อนันต์
- เทพธรณ์ หรูจิตตวิวัฒน์
- ภูมิ นวลจันทร์
- ธนาวุฒิ เอื้อชัยกุล
The source files used for this program are:
The screenshot will look like below. You have the option to add or remove
an integer.