Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General


Thread Tools Rate Thread Display Modes
Old 01-03-2018, 02:43 AM   #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.
albertocosta is offline   Reply With Quote

Old 01-05-2018, 02:01 AM   #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: ""
albertomorrison is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What’s difference between Stack and Queue? Shivangi Panwar Java 7 09-10-2016 03:51 AM

All times are GMT -7. The time now is 03:46 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.