+ 2

What are the stacks queues and linked list etc?

4th Jun 2018, 10:00 PM
Abhishek Kashyap
Abhishek Kashyap - avatar
2 odpowiedzi
+ 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.
6th Jun 2018, 8:50 AM
Jakub Grucel
Jakub Grucel - avatar
+ 1
thanks
6th Jun 2018, 9:11 AM
Abhishek Kashyap
Abhishek Kashyap - avatar