No video

Double Ended Queue - Additions

  Рет қаралды 12,866

Lalitha Natraj

Lalitha Natraj

Күн бұрын

Video 9 of a series explaining the basic concepts of Data Structures and Algorithms.
This video explains the basic concepts behind additions into a double ended queue.
This video is meant for educational purposes only.

Пікірлер: 20
@lokeshjain4750
@lokeshjain4750 5 жыл бұрын
superb job..good explanation and special thanks..
@humanology3254
@humanology3254 4 жыл бұрын
Thanku mam for your great work towards us
@ronakverma7070
@ronakverma7070 2 жыл бұрын
Very nicely explained dear.. great work keep it up.👍💯❤️✨
@sandy6162
@sandy6162 4 жыл бұрын
Clear explanation thanks you for this video . please make video on implementation of circular array
@AdeshPaul
@AdeshPaul 5 жыл бұрын
Very well explained.
@basicsofdatastructuresanda3793
@basicsofdatastructuresanda3793 Жыл бұрын
@4:17 for the first insertion from the rear, the rear will get incremented two times, inside if where r changes from-1 to 0 and also when we come out of if where rear++
@mudassirshoukat3395
@mudassirshoukat3395 2 жыл бұрын
your this video and previous video helps me alot
@Steve-ft8ux
@Steve-ft8ux 4 жыл бұрын
Hi, Lalitha: Thank you for the great explanation. What if there is an empty queue, and I call addrear, then I call addfront? After, I call addrear, the index of f=0, r=0. then, I try to call addfront, because of the index of f=0, I think the program will tell me full can't be add. but in fact. the queue is only been used 1 space in the entire queue. In this case, how do I fix it? remove the queue[0] to queue[1] ?
@prabhuprabhat_bhatia4506
@prabhuprabhat_bhatia4506 3 жыл бұрын
If you got the answer of your question,please tell me.
@yona5861
@yona5861 2 жыл бұрын
Then add to it &&rear== size-1
@7hitter777
@7hitter777 3 жыл бұрын
Mam face reveal plsssss.Your explaination is awesome even my teacher could not match u
@meetpatel1011
@meetpatel1011 3 жыл бұрын
Thank you so much ma'am
@Tijolo
@Tijolo 4 жыл бұрын
Hey Lalitha, me and my friend are having a problem because we can´t use "int", we have to use an "Item" that i supose we have to create, just asking if it can be done, and if so how? Thanks a lot for this video, it helped big time !!
@daksh1950
@daksh1950 4 жыл бұрын
Excuse me ma'am, I have a couple of doubts as to what the initial values of the rear and front should be; in addfront when you find out that front = -1 then you initialize front and rear with 0 and then you proceed to put the value in arr[0] in it but the next time you call the function value of front would still be 0 and the function will end. thoughts?
@rupeshraut994
@rupeshraut994 4 жыл бұрын
Initialize front = rear = -1 at beginning.
@mudassirshoukat3395
@mudassirshoukat3395 2 жыл бұрын
ma'am great explanation. Thank you. and greetings from Pakistan. hitted subscribe
@puskarbanerjee4903
@puskarbanerjee4903 16 күн бұрын
Your code won't work if we add 2 elements from front, then 3 from rear...for resolving this issue, we have to check if front is equal to rear or not, in both functions...if yes, we will flash "queue is full"...and according to this program, we have to declare front as size-1, not -1, otherwise f-- won't give a valid index
@mounikavarshini8045
@mounikavarshini8045 5 жыл бұрын
can u please upload display function for dequeue
@techintelugu1197
@techintelugu1197 2 жыл бұрын
I want ur lecture s now on java programming plzz come back❤️
@drjanhavivcse2614
@drjanhavivcse2614 Жыл бұрын
Priority queue program plz ma’am
Double Ended Queue - Deletions
8:25
Lalitha Natraj
Рет қаралды 7 М.
Binary Search Pseudo Code
12:32
Lalitha Natraj
Рет қаралды 15 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 7 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 7 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 3,1 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
Introduction to Recursion
8:34
Lalitha Natraj
Рет қаралды 10 М.
Queues - Additions and Deletions
9:37
Lalitha Natraj
Рет қаралды 11 М.
Introduction to Double Ended Queues
11:23
Lalitha Natraj
Рет қаралды 57 М.
Binary Search - Time Complexity
14:49
Lalitha Natraj
Рет қаралды 133 М.
Introduction to Circular Queues
10:43
Lalitha Natraj
Рет қаралды 83 М.
Introduction to Binary Search
16:25
Lalitha Natraj
Рет қаралды 146 М.
DSA 1.30 Double Ended Queue with Examples | Data Structure Full Course
10:07
CS & IT Tutorials by Vrushali 👩‍🎓
Рет қаралды 8 М.
Circular Queue Implementation - Array
9:50
Blue Tree Code
Рет қаралды 84 М.
Data structures: Array implementation of Queue
14:59
mycodeschool
Рет қаралды 877 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 7 МЛН