[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: Data Structure

3 / 72

What is stack and queue?


Stack is a sequential datastructure which will follow last in first out (LIFO) rules. The mainly operations of stack are : push pop peer empty and full.

Qeque is also a sequential datastructure which will work on First In First Out(FIFI) . It is the datastructure with restriction that the insertion will be performed from one end and deletion from the another end with help of front and rear. The mainly operations will be performed are : enque and deque operations .

We can implement both by using an array (i.e. static implementation ) and another is using linklist that is dynamic implementation.

Asked In :: WiproTCSVirtusaSyntel Inc.Sopra Steria

Post Your Answer Here:

Rate This: +2 -0      +

Post Your Reply Here:

Alert me

Report Error

Please Login First Click Here

Most Popular Qs.