Heap: A tree with a property that the value at the parent should be >= value at its child (max heap).
Stack: no such property. First in last out access
1
Utilisateur anonyme
24 avr. 2011
consider them as data structures, not memory related heap and stack !