Is it more efficient to implement a priority queue using 2 stacks than 2 queues ?
Plz give Explanation in either case…
1 Like
Is it more efficient to implement a priority queue using 2 stacks than 2 queues ?
Plz give Explanation in either case…