+ 2
What are the stacks queues and linked list etc?
2 Respostas
+ 2
Stack and Queue are structures to store and work with Data.
Stack: working with the LIFO-principle
Queue: working with the FIFO-principle
A Linked List is a List of Node-Objects.
The List starts with a head which points at the first node.
Each node stores data and points at the next node.
The last node in the linked list points at null.
It is easy to implement a Queue-pinciple-data-managment with a Linked List
and you can implement a Stack-principle-data-managment with an array.
+ 1
thanks