Тёмный

Queue | Data Structures Tutorial 

Naresh i Technologies
Подписаться 1,3 млн
Просмотров 414 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 184   
@NareshIT
@NareshIT 5 лет назад
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@tejadaggubati
@tejadaggubati 6 лет назад
Sir, You are simply amazing of explaining the stringent concepts in an easy way
@redrose5950
@redrose5950 6 лет назад
I request you to please make your lectures on Circular Linked List, and Stack Using Dynamic Array
@sreenivasuppara3561
@sreenivasuppara3561 7 лет назад
very easy to understand just give notes on the concept THANKING YOU SIR
@suprithas732
@suprithas732 6 лет назад
Hi Srinivas, your's lecturing is simply awesome, and could you please upload videos on Asymptotic notations of Data Structures and time complexities. Thanks, Supritha
@krishnachitturi8088
@krishnachitturi8088 2 года назад
❤️
@praseedaks1276
@praseedaks1276 4 года назад
ur all clases are very simple and useful. very very thank u srinivas sir..
@shyammishra722
@shyammishra722 6 лет назад
Front and rear both will move back and forth according to how deletion and insertion operation taking place. It also follows the wrap around strategy i. e if front=n(which is the length of the array) then front = 1. Same goes for rear also if we are using ststic array. you can verify it from page no. 235 of the book introduction to algorithm by coremen third edition.
@004_sreelemonchandramohont9
@004_sreelemonchandramohont9 2 года назад
Sir I have a question you said that front is fixed in front location but when I read the book name was "Data structures by -=SEYMOUR LIPSCHITZ=-" . in this book they said whenever an element is deleted from the queue the value of front is increased by 1 this can be implemented by the assignment FRONT :=Front+1; similarly when we inserted an element on array its assignment RARE :=RARE + 1; so now I am in confusion whom should I follow you or the book ? Please sir, clear it.
@004_sreelemonchandramohont9
@004_sreelemonchandramohont9 2 года назад
I also ask same question like you to sir, but sir didn't answer me. I don't know why ?
@kyledrewes6552
@kyledrewes6552 5 лет назад
You completely helped shed the light. Thank u for your help big guy.
@rakhishrivastva1309
@rakhishrivastva1309 3 года назад
Sir please post all the data structure related videos in C... Your teaching is just awesome👍..!! It is helping me as well as others a lot!!!
@himanshujoshi4842
@himanshujoshi4842 3 года назад
Did u got it ??
@sharath5796
@sharath5796 3 года назад
best ive ever seen , you r an angel srinivas sir
@rajneeshmaurya7640
@rajneeshmaurya7640 6 лет назад
My concept is very clearly clear. I want video on stack,tree,graph. With same point to point.please sir.
@sainikhilhanamkonda2104
@sainikhilhanamkonda2104 2 года назад
Sir,fron&rear=-1
@vaddijyothi4480
@vaddijyothi4480 3 года назад
Awesome explanation sir
@SivaKumarR-ng1hk
@SivaKumarR-ng1hk 3 года назад
Thala theivamey enga iruthinga evolo nal ha ...tq u so much sir💚💯
@Taekookfan1917
@Taekookfan1917 5 лет назад
My teacher explains that front value is not static for all time it will increased when deleting an element from first positon. Which is crct??? In deletion algorithm we can recognise that the front value is always incrimenting after deletion
@yashprog1359
@yashprog1359 4 года назад
You are right this one is correct 👇 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1F836VZ7FCI.html
@blueranger9096
@blueranger9096 5 лет назад
Wow nice explanation thank you sir.
@GamingPros
@GamingPros 4 года назад
You are great teacher sir i understand queue now and I never forget
@004_sreelemonchandramohont9
@004_sreelemonchandramohont9 2 года назад
Sir I have a question you said that front is fixed in front location but when I read the book name was "Data structures by -=SEYMOUR LIPSCHITZ=-" . in this book they said whenever an element is deleted from the queue the value of front is increased by 1 this can be implemented by the assignment FRONT :=Front+1; similarly when we inserted an element on array its assignment RARE :=RARE + 1; so now I am in confusion whom should I follow you or the book ? Please sir, clear it.
@meghanachittoju7647
@meghanachittoju7647 5 лет назад
sir, You are simply amazing of explaining the stringent concepts in an easy way .Thank u so much sir, we want more videos on c like quick sort algorithm
@blessinghwacha5163
@blessinghwacha5163 5 лет назад
check mycodeschool or tutorialspoint
@AnubhavMadhav
@AnubhavMadhav 5 лет назад
Very Nice video...Thanks
@suhanikapil6070
@suhanikapil6070 7 лет назад
Thanku sir, it's very easy way to memories. Thanks a lot. plz make a video on dequeue .
@kunalbiswas372
@kunalbiswas372 4 года назад
you're the best, sir. love from west bengal
@redrose5950
@redrose5950 6 лет назад
Sir your lectures are extremely beneficial
@vipulsingh8762
@vipulsingh8762 5 лет назад
Mr srinivas is great at naresh technology
@Python_DSA_Journey
@Python_DSA_Journey 4 года назад
sir u r the best one i have ever seen amazingly amazing eplanation.. where i can get your full DS course?
@aku_11_11
@aku_11_11 4 года назад
sir your tutes are very awesome.
@mrvijayakumar1487
@mrvijayakumar1487 5 лет назад
Superb sir I understand clearly. Thank you so much.
@ganeshjaggineni4097
@ganeshjaggineni4097 2 года назад
NICE SUPER EXCELLENT MOTIVATED
@ishratweber7022
@ishratweber7022 6 лет назад
your teaching is very well
@r.kpandey1469
@r.kpandey1469 5 лет назад
We can delete the data using null keyword Ex - int a=20; a=null; Data 20 has been deleted
@blessinghwacha5163
@blessinghwacha5163 5 лет назад
but what is the point of deleting the data? because your member function ADD don't face any problem overriding the current value!
@shyamkachhadiya4964
@shyamkachhadiya4964 6 лет назад
yup very useful, cleared misconceptions
@anilsrivastava1218
@anilsrivastava1218 5 лет назад
Thank you Mr Naresh.
@lilimadharua8103
@lilimadharua8103 4 года назад
Thank you sir.. U r awsome Sir.
@gnsutradhar
@gnsutradhar 4 года назад
Sir could you please upload dynamic queue implementation. Your lectures are awesome.
@shahadathossain1209
@shahadathossain1209 6 лет назад
Easy to understand......................Thanks
@aztecMigarid
@aztecMigarid 5 лет назад
Very nice conceptual explaination..🔥
@kittu2835
@kittu2835 3 года назад
What is the value of front sir?
@darshanrs491
@darshanrs491 4 года назад
Sir I have one doubt, you said the front value remains same in entire program .. but in the text book instead of shifting the values ..they have incremented the front value...which one is correct
@abhishekverma1321
@abhishekverma1321 4 года назад
Yeah bro🤔
@satyamgupta2182
@satyamgupta2182 4 года назад
Exactly! Although, I think that this is the advanced version. But then again, isn't this Circular Queue?
@yashprog1359
@yashprog1359 4 года назад
For correct explanation with visuals and algo, this could help As front part moves when we delete 👇 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1F836VZ7FCI.html
@rohankademani6406
@rohankademani6406 5 лет назад
If u shift all the elements then big o will not be 1 so its wrong to shift
@dileepnagendra8199
@dileepnagendra8199 3 года назад
You are an awesome guy sir
@lalitsadh8304
@lalitsadh8304 6 лет назад
Sir ... I have few confusion.... Sir you said that front is not change in deletion the elements but I learned that front value is changing when deletion
@sharath5796
@sharath5796 3 года назад
no front value remains same , only the rear value changes during both insertion and deletion
@surendrababu4136
@surendrababu4136 5 лет назад
U teaching is exlent sir
@Nani-np4rq
@Nani-np4rq 2 года назад
Nice explanation sir
@mr.pintubirajdar9494
@mr.pintubirajdar9494 7 лет назад
more clear concept of queue very easily!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@scmishra3809
@scmishra3809 7 лет назад
Mr. PINTU BIRAJDAR u
@sanjaykumar-wx9ym
@sanjaykumar-wx9ym 7 лет назад
thanx sir
@sathishp3831
@sathishp3831 4 года назад
Better than my lectures 👍
@princemonzzzi2174
@princemonzzzi2174 7 лет назад
very useful lectures sir..
@Abhay.Bhandari
@Abhay.Bhandari 3 года назад
Awesome lecture sir
@rohitsuryawanshi7909
@rohitsuryawanshi7909 6 лет назад
Very nice ....sir please make video on implementation of queue using single linked list
@namuideas5906
@namuideas5906 6 лет назад
Excellently explained
@mahipalsingh-yo4jt
@mahipalsingh-yo4jt 4 года назад
very good explanation,👍
@shivangisaha7396
@shivangisaha7396 3 года назад
When front [0] and rear[0] there can still be one element no ? Like in the index position 0 if we fill 10 then front and rear both points to 10 how the queue is empty
@PandeyJii9632
@PandeyJii9632 3 года назад
Yes. His concepts are shit
@086-vikas3
@086-vikas3 2 года назад
If you would watch the video in 1.25x then you would have fantastic learning experience.....
@HimanshuSingh-ge1pe
@HimanshuSingh-ge1pe 6 лет назад
But if front and rear are points toward 0 that mean there is just one element in the queue at position 0. Not empty!
@lakshyakumarsharma5556
@lakshyakumarsharma5556 2 года назад
But sir if we shift all the elements to the left after deletion then won't it tak O(n) time ?
@kornugovindarao2123
@kornugovindarao2123 2 года назад
Sir can we insert element from backside or reverse order in an array
@snehalathakothapalli1810
@snehalathakothapalli1810 6 лет назад
very useful thank u sir i want data structures in java videos ,
@puligotiravi
@puligotiravi 6 лет назад
very simple proceess in every probleams
@avimanyudas9782
@avimanyudas9782 7 лет назад
is there recursion,graph,array,searching and sorting....all these are included?
@gajjalas7827
@gajjalas7827 6 лет назад
Sir please give us about representation of graphs
@sumitrawatofficial5755
@sumitrawatofficial5755 6 лет назад
how can all elements start shifting..although u are correct that we cannot delete those elements permanently as they are occupies some memory as they allocate memory in array but they are removed from queue..
@pooyataheri8092
@pooyataheri8092 4 года назад
Dequeue operation explained in this video is wrong as it is of complexity O(n) not O(1).
@RashidKhan-iq6my
@RashidKhan-iq6my 7 лет назад
very well understood keep it sir nice
@trisdivergent8173
@trisdivergent8173 5 лет назад
At first before insertion front and rear will be -1. Isn't it???@Naresh i Technologies
@naveengarg9667
@naveengarg9667 5 лет назад
what a complexity , when we shifting element rear to front , As you said we have a 5 element in queue and delete from front then all remaining element will shift to front , means every time complexity is equal to remaining element.
@carbonfiber1231
@carbonfiber1231 5 лет назад
for empty queue, rear and front should be -1 and not 0.
@reshmabarbieraj2936
@reshmabarbieraj2936 5 лет назад
It can be 0 also.... If you assume starting index as 1....
@bonamonisandeepkumar1113
@bonamonisandeepkumar1113 5 лет назад
super teaching sir
@devarlavishnuvardhan8464
@devarlavishnuvardhan8464 5 лет назад
Thank you sir for help the data structure
@Thimothy-123
@Thimothy-123 2 года назад
nice explanation
@henrymideko74
@henrymideko74 5 лет назад
v helpfull naresh. thank you.
@punyamvenkateshawarlu5741
@punyamvenkateshawarlu5741 5 лет назад
Nice teaching tqq sir
@sadhvisinha5123
@sadhvisinha5123 5 лет назад
Sir,u r awsome.
@pmkvines5952
@pmkvines5952 4 года назад
👍 nice I like it
@swaraj792
@swaraj792 5 лет назад
sir can we traverse from rare variable and not frunt variable?
@Erskr
@Erskr 6 лет назад
Deleted value from front, we can't insert any value. By this demerit of queue we have circular link list .
@aryanraje2770
@aryanraje2770 3 года назад
I am waiting for srinivas sir to post bloopers on YT and see his smile xD
@traghuramreddy2537
@traghuramreddy2537 7 лет назад
It is easy to understand
@sathellipriyanka4600
@sathellipriyanka4600 5 лет назад
Sir ....can you please make vedio for SQL ...... please sir ... Thanks and regards
@nivasnani1750
@nivasnani1750 2 года назад
Sir can't we delete element bye using "NULL"
@demons3008
@demons3008 7 лет назад
It is not possible to keep shifting all the elements when you delete an element. Sure you can do it for this queue containing only 5 elements, but what if the queue has 5000 elements? it would take too long and too much resource to shift 4999 elements after deleting each element
@prateeksholapurkar6190
@prateeksholapurkar6190 7 лет назад
you are right. this is not an efficient method so far... the front should be moved after deletion...
@LtdJorge
@LtdJorge 7 лет назад
MvK you probably shouldn't use a queue for 5k elements.
@footballhighlights2213
@footballhighlights2213 7 лет назад
yup...its long process,its better to move the front
@sumbalkhan9902
@sumbalkhan9902 7 лет назад
can you please tell me when moving elements one by one from left to right then 50 is still in last why?even also ove to next place where first 40 present
@rahulsolankib
@rahulsolankib 6 лет назад
Oh come on you are not going to use 5000 entries bro. Whatever!Yes i get the logic behind not shifting the front bcz if we shift then the part of array behind the front will be wasted bcz it cannot be filled any,as in the queue is only the insertion is done only at rear end
@Nikhil-sn2ri
@Nikhil-sn2ri 4 года назад
sir shall we can delete the middle value if it is possible
@yashprog1359
@yashprog1359 4 года назад
We cannot delete middle values directly, to do so we have to first start deleting elements from front and till we reach the desired middle element 👇 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1F836VZ7FCI.html This can be used.
@pillareddyvamsheedharreddy2044
@pillareddyvamsheedharreddy2044 4 года назад
When front ,rear at index number 0 there is an element in the queue ,when rear,front at -1 there is no element in the queue .... fully confused 10:19
@codebynilay9438
@codebynilay9438 4 года назад
I think what he meant was that when front and rear =0 there were elements in the queue which you have popped, whereas when rear and front = -1 that means that you have not done any operations on the queue bc the values are the same as the initialized values
@sahilvishwakarma6848
@sahilvishwakarma6848 4 года назад
Sir the videos are not in order so please be can you check again
@padhuyadav6996
@padhuyadav6996 5 лет назад
Super sir tq u soo much
@pritampatil4163
@pritampatil4163 4 года назад
nice video sir
@RECOMMENDED_ACC_IMA
@RECOMMENDED_ACC_IMA 5 лет назад
Thanks a lot sir☺❤
@anujkumar-fx8mh
@anujkumar-fx8mh 6 лет назад
when 10 is inserted u didn't increment rear but to insert second element u increment rear. why so? according to rule 1st increment then insert
@shortsforbuddies
@shortsforbuddies 6 лет назад
nyce sir for learn this chapter
@mahimsd7645
@mahimsd7645 5 лет назад
Is there a possibility to delete an element from memory by any means ???? ??????
@tapanjeetroy8266
@tapanjeetroy8266 7 лет назад
Thanks a lot sir...
@shieksibbu1451
@shieksibbu1451 5 лет назад
Bro give Notes PDF IN description box
@AbdullahSiddiqui949
@AbdullahSiddiqui949 6 лет назад
Useful lecture
@naveenpala3416
@naveenpala3416 4 года назад
I think the videos are not in correct order.make sure they r in correct order.
@mridultiwari7632
@mridultiwari7632 5 лет назад
Sir make video on Ethernet
@rudrakshairon1087
@rudrakshairon1087 5 лет назад
But queue is empty when both front nd rear are at -1 at when both of them are 0 that means there is an element in queue ???????
@yashprog1359
@yashprog1359 4 года назад
When front and rear points to -1 then queue is empty 👍 👇 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1F836VZ7FCI.html This could help
@debashisnandy5994
@debashisnandy5994 7 лет назад
thank you
@shwetasharma7636
@shwetasharma7636 8 лет назад
very useful lectures...
@mdwafaasghar8819
@mdwafaasghar8819 6 лет назад
hii
@muzammilfarhann7909
@muzammilfarhann7909 5 лет назад
How do ppl have so much confidence while speaking even though their pronunciation or grammer is wrong.
@LiveLifeee
@LiveLifeee 5 лет назад
Because they have confidence in their knowledge , so rest nothing matters.
@shouvikdutta2825
@shouvikdutta2825 5 лет назад
your concept regarding deletion operation in a queue is completely wrong.
@jayanthasaranga9120
@jayanthasaranga9120 6 лет назад
very good
@StocksVsPeople
@StocksVsPeople 6 лет назад
upload some lecture on circuler linked list
@barsharaniswain2268
@barsharaniswain2268 4 года назад
Tq sir 🙏🙏
Далее
How to Perform Operations on Queue | Data Structures
18:57
ДУБАЙСКАЯ ШОКОЛАДКА 🍫
00:55
Просмотров 1,1 млн
QUEUE IMPLEMENTATION USING ARRAYS - DATA STRUCTURES
28:10
Operations on Circular Queue |  Data Structures Tutorial
13:30
Creation of Stack in DS | Data Structures Tutorial
32:22
Hash Tables and Hash Functions
13:56
Просмотров 1,6 млн
Data structures: Array implementation of Queue
14:59
Просмотров 886 тыс.
Linked List using C | Data Structures Tutorial
18:29
Просмотров 887 тыс.