Logo F2FInterview

C++ - Data Structures Interview Questions

Q   |   QA

The nature is Static and it’s referred to as static implementation of list

The nature is dynamic and it’s referred to as dynamic implementation of list

A Stack is a linear data structure in which data is inserted and deleted at one end (same end) i.e. data is stored and retrieved in a Last In First Out (LEFO) order.

Stacks are used in compilers in passing an expression by recursion; in memory management in operating system;
Queues find their use in CPU scheduling, in printer spooling, in message queuing in computer network etc.

Store = Push and Retrieve = Pop

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: