Page 1 of 1

Q: Write an algorithm for the following operation: - checking the stack before inserting the new data. - checking the qu

Posted: Tue Jul 05, 2022 10:26 am
by answerhappygod
Q: Write an algorithm for the following operation:
- checking the stack before inserting the new data.
- checking the queue before deleting the existing data.
- getting last element in stack without remove it.
- removing element from queue.
- storing element into the stack.
plz do each stage saperatly one after another.