Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What does LIFO stand for?
It describes how stacks operate.
Give an example of a situation where a queue might be used.
Think about how people are served.
What is the principle of a stack?
Remember how items are removed from a stack.
Which operation removes an element from the queue?
Think of how customers are served in a line.
Implement a function that converts a queue using two stacks.
Draw the process out to visualize how items move between the stacks.
Design an application that utilizes both a stack and a queue, explaining how each is applied in your design.
Think of how tasks are ordered and the need for reversing actions.
5 more questions in this section. Enroll free to practise them all.
Enroll free