Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Array-Based Heap Example Solution

Language: Editor: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.73 sec, absolute running time: 0.24 sec, cpu time: 0.18 sec, memory peak: 3 Mb, absolute service time: 0,98 sec 
edit mode |  history  | discussion
*** Array-Based Heap Program for ECE 2574 ***

Inserted 99 into heap.
Inserted 87 into heap.
Inserted 83 into heap.
Inserted 11 into heap.
Inserted 24 into heap.
Inserted 79 into heap.
Inserted 15 into heap.
Inserted 83 into heap.
Inserted 81 into heap.
Inserted 7 into heap.

Returned 7 from heap.
Returned 11 from heap.
Returned 15 from heap.
Returned 24 from heap.
Returned 79 from heap.
Returned 81 from heap.
Returned 83 from heap.
Returned 83 from heap.
Returned 87 from heap.
Returned 99 from heap.