how many queues are needed to implement a stack
Answers
Answered by
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
English,
16 days ago
Political Science,
16 days ago
English,
16 days ago
English,
1 month ago
India Languages,
1 month ago
Math,
8 months ago
Math,
8 months ago