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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 01-03-2018, 03:43 AM   #1
albertocosta
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
albertocosta is offline   Reply With Quote

Old 01-05-2018, 03:01 AM   #2
albertomorrison
Registered User
 
Join Date: Dec 2017
Location: Santa Clara, California, USA
Posts: 23
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"
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
albertomorrison is offline   Reply With Quote
Reply


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 04:51 AM


All times are GMT -7. The time now is 12:42 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.