Queue Data Structure in C++ Programming (using arrays) | All Queue Operations | Part - 2

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- We will be implementing queue data structure and all its standard operations. We will implement queue using arrays in c++ programming language.
Following are the stack operations -
1) enqueue() -
Elements are added from one end (Rear / Back).
2) dequeue() -
Elements are removed from one end (Head / Front).
3) isEmpty() -
Tells if the queue is empty or not
4) isfull() -
Tells if the queue is full or not.
5) count() -
Get the number of items in the queue.
6) display() -
Display all items in the queue

If you want the full C++ Program code for Queue & Queue operations follow me on Instagram or Facebook (links given below) & send me your email address & I will mail the full code to you ✌

Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

#queue #queueprogram #queuecpp #queuedatastructure #datastructures #queueds #queueoperations
Рекомендации по теме
Комментарии
Автор

int count()
{
if(rear==-1 && front==-1)
return 0;
else
return rear-front+1;
}
count should be like this otherwise without element also count will be 1.
Well thank you sir

shubhambaranwal
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

Today my search ends here about QUEUE...
best explanation...
!!! thanks !!!

AnoopKumar-bkus
Автор

Love You Bruh. I'm in 3rd semester and studying Data Structures. Its Going Outstanding.

usamafiaz
Автор

Man; this is the best explanation I have ever heard in a YouTube video

AShows
Автор

BEST DSA course ever on youtube love the way you teach!

deveshparmar
Автор

bhai, apke is channel ko to 1Milllion subcribers hona chaiye, itne acche aur satik tareeke se koi DS padha v skta h, vishwas nhi ho rha apka bhot bhot abhari hu, jo apne itne jatil vishayon ko v itne saral aur graphics se zariye itna accha banaya ki hm ubte tk ap CS k baaki subjects ko v graphics k zariye padhaeyega (but free m, bhai :)), taki humara bhala ho....apko ishwar sada sukhi
-Apka ek subscriber....

samChakravartiSamrat
Автор

Rigorous explanation.
I am satisfied.
Thank you, Tanmay Sakpal.

vijaysinghchauhan
Автор

Your series has been a blessing to me and my life. May God bless you.

servantofthelord
Автор

At 14:07 it gives count 1 even if the queue is empty
That's why first we have to check for isEmpty and return 0 if isEmpty is true.

AjayKumar-jusl
Автор

You are the best when I think of clear and excellent explanation on YouTube! Thank you for making these videos, and I will always support you by sharing your channel with my friends and mentees!

albertd.bangura
Автор

Hand down! This is one of the best explanation on DS

atharvakurumbhatte
Автор

Queue Concept and its operations are now clear, thanks Tanmay Bhai 😍👍👍🙌🙌

arpitnamdev
Автор

My always go to channel for my degree is justtt simple snippets Thank you brother💁🏻‍♀️

Aishwarya__
Автор

if(rear==-1 && front==-1)
return 0;
else
return rear-front+1;

for printing elements we can use this rather than printing those deleted 0's :)
Thank You sir!

vissamsettykalyan
Автор

Your channel is like finding an oasis in Sahara Thanks for the great explanation and endless effort !!!

sharvarijahagirdar
Автор

Simply a perfect channel for perfect programming!!! 👊 thanks alot brother❤️

shapind
Автор

Your contents are amazing💖. I'm thankful to you from my heart❤❤

UEC_AbhayKumar
Автор

Your explanation is mind blowing. Through your videos i get to learn things in a single shot!
I have one request - can you please make a video on linked list implementation of stacks and queues.

mananjagani
Автор

Bro your way of speaking and fluency in English is wonderful...👍👌👏👏

sandeepnayak