Stacks and Queues - Computer Science A level

preview_player
Показать описание
#Stacksandqueues #ComputerScienceAlevel #CAIEExamtips
Stacks and queues are two abstract data types. Let’s take a look at how they operate. A stack is a collection of data elements that are stored in a linear method. A simple way to view this is as a vertical stack of blocks, like this. There are two main operations that are used to manipulate the data in the stack, these are push and pop. The push operation adds a data element to the stack. The pop operation removes a data element from the stack.
Learners of the Future
Рекомендации по теме