Q. What is the working principle of data structures stack and queues?


Answer =

• Stack work on the principle of LIFO (Last in-first out).
• Queue work on the principle of FIFO (First in-first out).

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post