Cisco Interview Question

Diff bet heaps n stacks