|
Notices |
![]() |
|
Thread Tools | Rate Thread | Display Modes |
![]() |
#1 |
Registered User
Join Date: Apr 2016
Posts: 61
|
Difference between Stack and Queue data in practical way.
Its frequently data structure question in any programming level interview.
Can any one descriple this two element different in real things. Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Dec 2017
Location: Santa Clara, California, USA
Posts: 91
|
Stack and Queue are two of important data structures in the programming world and have a variety of usage.
In one word, the difference between Stack and Queue comes in how they consume elements, In Stack, we remove the most recently added element, while in Queue we remove least recently added element. For more info: "https://goo.gl/AGm3Uz" |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What’s difference between Stack and Queue? | Shivangi Panwar | Java | 7 | 09-10-2016 03:51 AM |