Wednesday, February 22, 2012

Min and Max heap in Java

Code input/output:
Printing min heap data: 
12 13 14 15 17 19 20 44 45 52 56 58 74 84 
Printing max heap data
84 74 58 56 52 45 44 20 19 17 15 14 13 12 



No comments:

Post a Comment