Computer Science, asked by snchaudhari1901, 1 month ago

how many queues are needed to implement a stack​

Answers

Answered by animelover33
3

Answer:

Either the push or the pop has to be a costly operation, and the costlier operation requires two queues.

Explanation:

hope it helps!

Similar questions