Data structures: Array implementation of Queue

Data structures: Array implementation of Queue

mycodeschool

10 лет назад

869,701 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@muhammadumairaltaf7482
@muhammadumairaltaf7482 - 16.11.2023 23:57

Source code link is not working

Ответить
@bhuppidhamii
@bhuppidhamii - 03.07.2023 04:37

2 hr before exam

Ответить
@colekaminski9598
@colekaminski9598 - 08.05.2023 06:54

would help if you showed us the actual code

Ответить
@Massive_M
@Massive_M - 03.01.2023 10:37

Thank you.
You just explained the whole thing very understandably

Ответить
@sakshitiwari1869
@sakshitiwari1869 - 02.01.2023 12:43

The way he teaches one can easily understand thankyou sir

Ответить
@gauravdotiyal7171
@gauravdotiyal7171 - 18.11.2022 12:37

best explanation ever🙌🙌

Ответить
@caizza3
@caizza3 - 20.07.2022 02:12

Timeless greatneess

Ответить
@DineshKumar-lq2ck
@DineshKumar-lq2ck - 28.04.2022 16:49

Harsha will remain immortal until these videos are here. May God bless his soul. Thankyou for creating this channel. For Many like me it's a treasure.

Ответить
@wandererstraining
@wandererstraining - 27.04.2022 01:47

Glad that I stuck to the end! At first, it was so simple I almost skipped to the next video, but then you started talking about circular implementation of the array. That's a genius way of making use of all the memory available!

Ответить
@tejasnakhate
@tejasnakhate - 16.03.2022 08:01

Its 2022, 9 years since they uploaded this video and its still helpful.

Ответить
@sim1manson1
@sim1manson1 - 04.12.2021 13:50

FAKE QUEUES!!!

Ответить
@jayakavya4977
@jayakavya4977 - 30.09.2021 09:09

very nice explanation :)

Ответить
@kasyapdharanikota8570
@kasyapdharanikota8570 - 11.08.2021 21:48

please start making videos, it is my humble request.

Ответить
@rohangupta.1
@rohangupta.1 - 11.08.2021 17:16

PLEASE answer below question

write a c program that create data structure that are larger than the amount of physical memory contained in their machine

Ответить
@ukeez01
@ukeez01 - 06.07.2021 09:53

difficult

Ответить
@usaball9193
@usaball9193 - 07.06.2021 18:46

Can anyone explain to me, how to search an element in a queue?. I mean the code for it.

Ответить
@ClipsWithFlips
@ClipsWithFlips - 05.06.2021 08:32

There is a mistake in this. For Ex: if we enqueued 3 numbers 2,3,4 and then dequeued those 3 numbers out. Now the queue is empty, but in the empty function he had given if front=-1 and rear=-1, it should show empty. Now according to example condition, front=2and rear=2 still the queue is empty. The code he wrote is not showing the queue as empty.

Ответить
@daviddelorenzo7483
@daviddelorenzo7483 - 13.05.2021 19:07

Grazie cugino di Harpreet

Ответить
@opanpro9772
@opanpro9772 - 08.04.2021 00:39

All is right about this video except for the fact that you didn't address the issue of figuring out when a circular array-based queue is empty or full? You didn't address the issue of keeping a RESERVED SPACE and also changing the IsEmpty condition.

Ответить
@praveen7028
@praveen7028 - 04.04.2021 08:11

This guy was ahead of his time! He is a brilliant teacher.......

Ответить
@TiDuZzO
@TiDuZzO - 31.03.2021 10:00

I wonder where would you use this function in a real scenario either for an app or a game script...

Ответить
@MohamedDernoun
@MohamedDernoun - 11.03.2021 16:17

Best course of DS i have ever seen <3

Ответить
@fariahrahman5702
@fariahrahman5702 - 10.03.2021 06:02

Thank you so much, this video clarified this topic for me!

Ответить
@day35ofdebuggingthesamelin56
@day35ofdebuggingthesamelin56 - 09.03.2021 07:05

694,694th viewer lol

Ответить
@kal5211
@kal5211 - 05.03.2021 00:53

My man.

Ответить
@indigo2321
@indigo2321 - 03.02.2021 14:24

Thanks a lot man!
u made it so easy to understand and simple!. GJ!

Ответить
@alokcom
@alokcom - 01.12.2020 08:04

I Just hate how coding interview has become like competitive exam like C.A.T , where the problems for coding has significance
In real system design , and even though you know coding u cannot solve untill you practice like hell.

Ответить
@tomjohnson2001
@tomjohnson2001 - 31.10.2020 03:30

do you really need front = (front + 1) % n? because we would hit rear before we could loop into the circular array?

Ответить
@rajdeepbrahma1306
@rajdeepbrahma1306 - 26.10.2020 14:28

just A W E S O M E!

Ответить
@chiraglulla5561
@chiraglulla5561 - 22.10.2020 14:24

why is there +N in the previous position formulae , I am unable to think about it can someone help me out with it?

Ответить
@jacobstuck3374
@jacobstuck3374 - 21.09.2020 00:50

I'm really not sure what those arrows are indicating. Can someone clarify that for me?

Ответить
@flyguynoaholdksa5461
@flyguynoaholdksa5461 - 20.09.2020 08:42

Hey! Thank you for the video. It has helped me a lot with learning about queues and circular queue. Can you please show the code implementation of adding and removing from the back of the queue.

Ответить
@29battles10
@29battles10 - 09.09.2020 08:42

No thanks to you my friend

Ответить
@prashantgupta808
@prashantgupta808 - 04.09.2020 09:07

done!

Ответить
@vinothkumarr687
@vinothkumarr687 - 31.07.2020 11:54

Can Enqueue and Dequeue can take place simultaneously or not.

Ответить
@akhilgupta3664
@akhilgupta3664 - 27.07.2020 15:19

One of the best explanation in the world !! Crystal Clear explanation .Thank You !!

Ответить
@prodiptamondal1758
@prodiptamondal1758 - 10.06.2020 22:46

In circular array, if the array is empty shouldn't we set both front and rear is equal to -1?

Ответить
@snape0001
@snape0001 - 04.06.2020 20:47

I don't know how to thankyou for making concepts so easy and clear.. god bless you.

Ответить
@suneelabbigari
@suneelabbigari - 04.06.2020 10:22

My print function:
void PRINT() {
int index = front;
//Have null check here.
printf (" My queue is : ");

do{
printf("%d \t", A[index]);
index++;
}while((rear+1)%MAX_SIZE != index);
printf("\n\n");
}

Ответить
@1kinjalpatel
@1kinjalpatel - 22.05.2020 15:44

Great video explanation...BTW one correction I can think of in isFull() function where we should check if (rear + 1 == front) along with rear+ 1 == len(array) in a circular fashion

Ответить
@alibaba888
@alibaba888 - 20.05.2020 20:44

Thank you thank you THANK YOU! This is so simple and everything makes sense!

Ответить
@yumdelightswithlasya1907
@yumdelightswithlasya1907 - 13.05.2020 14:04

great content ..very very helpful...i am addicted to ur channel completed 42 videos of DS within 2 days..i..!!can someone plz suggest any channel for DBMS i am unable to find in this channel...

Ответить
@DrBilal
@DrBilal - 03.05.2020 11:09

Nice 💯

Ответить