Delete a node from Doubly Linked List(start / middle/ end node)

  Рет қаралды 85,245

Vivekanand Khyade - Algorithm Every Day

Vivekanand Khyade - Algorithm Every Day

Күн бұрын

Пікірлер: 90
@faysalarab
@faysalarab 5 жыл бұрын
thank you, you make sense more than many professors.
@icewizard3664
@icewizard3664 3 жыл бұрын
Thank you so much for your help. If it weren't for your help, I would have failed answering all of the questions regarding my double linked list.
@Rickyvidere
@Rickyvidere 4 жыл бұрын
dude you should be my professor you are amazing at explaining
@antragupta1001
@antragupta1001 7 жыл бұрын
thanqu so much sir tomorrow is my end sem exam n u make my concept clear about deletion in doubly linked list thanks for helping.....😊😊😊
@MukeshRajput1982
@MukeshRajput1982 6 жыл бұрын
www.mukeshrajput102.com/2017/12/write-c-programs-to-implement-double_11.html
@AlgoXperience
@AlgoXperience 6 жыл бұрын
sir u r my staff in this whole topic
@Nao-Tomori
@Nao-Tomori 5 жыл бұрын
6:47 Can you just declare p as the last node so that it saves time? Maybe add a tail node?
@NehaKumari-yf9bh
@NehaKumari-yf9bh 6 жыл бұрын
thanks sir !!! best explanation on deletion of doubly linked list
@muskansinghal4467
@muskansinghal4467 6 жыл бұрын
can you please post about insertion and deletion in circular linked list? its a request please. Your methods are quite understandable and easy to learn.
@adityasrivastava2814
@adityasrivastava2814 5 жыл бұрын
Thanks a lot sir!!!Your videos are really helpful!!!
@anupmasaxena8399
@anupmasaxena8399 2 жыл бұрын
Hello sir, can u please make video on circular linked list
@kaushikjain9423
@kaushikjain9423 4 жыл бұрын
ek dum mast samjaya sir aapne
@alekhyaali7273
@alekhyaali7273 6 жыл бұрын
thank you ....thank you so much sir......your teaching is awesom.......it was really helpful for me....
@143_monika5
@143_monika5 2 жыл бұрын
Thank you so much. It will help me a lot ❤️
@shivamnehra5532
@shivamnehra5532 4 жыл бұрын
thanks man ! your videos are more understandable
@kobepwe2513
@kobepwe2513 5 жыл бұрын
It should be While (p== "d node") because u still haven't delete anything and if u are, while(p!=delete position) should stop at "c node". But still great lecture. Will watch other vids too.
@priyammukherjee9725
@priyammukherjee9725 5 жыл бұрын
why did we use delete p and not free?
@kobepwe2513
@kobepwe2513 5 жыл бұрын
@@priyammukherjee9725 its okay whatever you want to use. Its just a variable name. It will still work
@williamjava
@williamjava 7 жыл бұрын
You should teach the course in my University! Excellent professor
@yaleboost4400
@yaleboost4400 5 жыл бұрын
thanks very much best explanation i get main point rather than my lecture continue to another algorithm topics """""""""""""" KEEP IT"""""""
@nileshvelip90
@nileshvelip90 7 жыл бұрын
last movement sir u r very help ful to me. thanku soooooo much sir
@vivekanandkhyade
@vivekanandkhyade 7 жыл бұрын
Thanks Nilesh..!
@devotion_surya3741
@devotion_surya3741 4 жыл бұрын
Sir, you are great 💥💥
@grozavklaus1900
@grozavklaus1900 5 жыл бұрын
Great job , thanks sir , i hope i will find your videos as helpful as this was
@user-tm1ix7xi1n
@user-tm1ix7xi1n 7 жыл бұрын
If you can make a video of time complexity, it would be helpful. Thank You.
@rabia11basri21
@rabia11basri21 3 жыл бұрын
Yes plz😊
@muhammadmuhammadsuleiman7673
@muhammadmuhammadsuleiman7673 5 жыл бұрын
We are really getting updated thru your help, pls sir, send me the linked list codes for single, double and circular linked list
@b345_padmadevmishra4
@b345_padmadevmishra4 6 жыл бұрын
please explain Insert/delete node at beginning/rear of circular singly linked list
@rishitasingh3955
@rishitasingh3955 6 жыл бұрын
Thanx for makig my dsa soo easy ...... could u please explain algos on circular doubly linked list
@Mhmdshoeb
@Mhmdshoeb 7 жыл бұрын
You Are Doing a Great Work, If u Explain The Time and Space Complexity of Those Algorithms at the end of Your Videos, Then that would be an added advantage, and It will be Appreciated.
@MukeshRajput1982
@MukeshRajput1982 6 жыл бұрын
www.mukeshrajput102.com/2017/12/write-c-programs-to-implement-double_11.html
@georgecurington8156
@georgecurington8156 6 жыл бұрын
out of curiosity , in the delete node procedure, is it really necessary to have two different types of loops ? One for deleting in the middle versus one for deleting at the end. It seems that only one type of loop is required. would this not work for a java implementation: @Override public boolean deleteANode(T data) { Objects.requireNonNull(data); if ( head == null ) { return false; } /** get the head pointer position first out of the way **/ if ( data.equals(head.getData())) { return deleteHeadNode(); } Node ptr = head; while ( ptr != null ){ if ( ptr.getData().equals(data)) { /** * we want to delete this node:D * a -- D -- b * D -- a -- b * a -- c -- D */ Node ptrNext = ptr.getNext(); Node ptrPrior= ptr.getPrevious(); ptrPrior.setNext(ptrNext); if ( ptrNext != null ) { /** it was the last node in the list **/ ptrNext.setPrevious(ptrPrior); } cntr--; return true; } ptr = ptr.getNext(); } return false; }
@crosshood2137
@crosshood2137 10 ай бұрын
we need the circular linked lists too
@poojarajgowda7967
@poojarajgowda7967 6 жыл бұрын
Thank you very much sir, it is really helpful for us
@ahitch3681
@ahitch3681 4 жыл бұрын
Could you please tell me how to detect these three scenarios in one remove method for an iterator? My first instinct was to check if the previous is null and then that would mean you are at the first, however Java will not let me use that as an option because I am dealing with objects.
@TakumiSoldier
@TakumiSoldier 4 жыл бұрын
Very helpful, thank you very much!
@rahmahayuningastuti8264
@rahmahayuningastuti8264 3 жыл бұрын
Thank you very much, sir!
@shaikahamad7764
@shaikahamad7764 7 жыл бұрын
Nice teaching sir
@williamjava
@williamjava 7 жыл бұрын
Excellent!!! Thanks so much professor!
@vaibhavgarg7345
@vaibhavgarg7345 6 жыл бұрын
it was good thankyou sir easily samaj me a gya
@crenshaw0024
@crenshaw0024 5 жыл бұрын
we need to delete the store_next and store_prev pointers along with p correct? I just see you deleting P. Thanks
@JossinJax
@JossinJax 4 жыл бұрын
For deleting a link in the middle, why can't we just use one link and use link.prev to point to the p.prev and link.next to point to p.next instead of using to pointers?
@anhhaopham7919
@anhhaopham7919 3 жыл бұрын
thank you so much teacher !
@andreimitrasca7815
@andreimitrasca7815 5 жыл бұрын
Thanks a lot for these explanations!! :)
@zelekethomas3028
@zelekethomas3028 6 жыл бұрын
u are amazing man carry on!
@kashfulhudha7242
@kashfulhudha7242 7 жыл бұрын
Thanx... it was really very helpful
@vivekanandkhyade
@vivekanandkhyade 7 жыл бұрын
Thanks Kashf..!
@adrita_chatterji
@adrita_chatterji 6 жыл бұрын
How can you compare a pointer type variable p with an integer type variable delete_position???
@shubhammorankar2740
@shubhammorankar2740 6 жыл бұрын
sir can you please upload the video on circular linked list insert at start , middle , and end ?
@yalinichandramohan5260
@yalinichandramohan5260 6 жыл бұрын
ir can you please upload the video on circular linked list insert at start , middle , and end ?
@antragupta1001
@antragupta1001 7 жыл бұрын
plz make a vedio on asymptotic notation ....
@palakmehta0427
@palakmehta0427 6 жыл бұрын
Plzz give a video of circular linked list algorithm.......
@rajeshkothapalli8415
@rajeshkothapalli8415 6 жыл бұрын
Algorithm to delete a node with given item of information in a single linked list
@gorledivya6451
@gorledivya6451 3 жыл бұрын
Sir in double linked list the last node is not empty ,why u should mention it is null
@juliakolbe511
@juliakolbe511 Жыл бұрын
thank you my man
@amankhare3115
@amankhare3115 4 жыл бұрын
which language is used in the program you are explaining ???
@dipalikatkarvlogs3158
@dipalikatkarvlogs3158 4 жыл бұрын
Thanks sir
@amankhare3115
@amankhare3115 4 жыл бұрын
which language is he using in the program ?
@mrityunjaymishra2490
@mrityunjaymishra2490 5 жыл бұрын
would u please make a video on xor doubly linked list?
@vipingautam9852
@vipingautam9852 5 жыл бұрын
No need of creating store pointer can be done this way p->next->prev = p->prev; p->prev->next = p->next; delete(p);
@holyshit922
@holyshit922 5 жыл бұрын
you are right but you should wrap these instructions with if then else
@stonecoldcold2941
@stonecoldcold2941 6 жыл бұрын
Thanks a lot sir
@deyavasdisen5206
@deyavasdisen5206 5 жыл бұрын
Sir can you please explain data structure using java.
@varshar6474
@varshar6474 6 жыл бұрын
do search prgrm fr doubly link list
@debebewogderese8712
@debebewogderese8712 5 жыл бұрын
any video related with the application of Linked List
@asifnaveed4800
@asifnaveed4800 7 жыл бұрын
thank you very mush sir i visit your website do not meet the doubly linked list code please tell to me.thanks
@vivekanandkhyade
@vivekanandkhyade 7 жыл бұрын
I will check it Asif and update the code on the link.
@mindbodyps
@mindbodyps 4 жыл бұрын
Thank you sir
@amruthavani6231
@amruthavani6231 5 жыл бұрын
Sir please update single and double circular linked list
@michael.1101
@michael.1101 4 жыл бұрын
what a legend
@shahsaudkhan2213
@shahsaudkhan2213 7 жыл бұрын
write an algorithm to delete node from doubly linked list
@vivekanandkhyade
@vivekanandkhyade 7 жыл бұрын
will soon upload..!
@y.srinivas4231
@y.srinivas4231 7 жыл бұрын
I am not getting code for double linked listj
@shalini13vlogs
@shalini13vlogs 7 жыл бұрын
Great video
@ramromex3424
@ramromex3424 6 жыл бұрын
Thanks DUDE!
@infiniteunconditionallove1620
@infiniteunconditionallove1620 7 жыл бұрын
thank you very nice
@poojadeepthi9381
@poojadeepthi9381 7 жыл бұрын
c program cheppagalara continuous ga
@asifrahman3489
@asifrahman3489 7 жыл бұрын
thnx a lot bro
@ABHAYKUMAR-fr8lm
@ABHAYKUMAR-fr8lm 6 жыл бұрын
Thanx sir g
@jitenchoudhary6272
@jitenchoudhary6272 6 жыл бұрын
👏 👏
@danielwakaba9865
@danielwakaba9865 7 жыл бұрын
Thanks.
@vivekanandkhyade
@vivekanandkhyade 7 жыл бұрын
Thanks Daniel..!
@muhammadbilalhafeez832
@muhammadbilalhafeez832 5 жыл бұрын
o bahi white board sa pichay hut ka samjhaya karo
@kurianbenoy9369
@kurianbenoy9369 7 жыл бұрын
You are not facing audience, I just see your back 90% of time
@shreyparekh7278
@shreyparekh7278 6 жыл бұрын
Very bad and short trick explanations that might not help you!!
@JossinJax
@JossinJax 4 жыл бұрын
For deleting a link in the middle, why can't we just use one link and use link.prev to point to the p.prev and link.next to point to p.next instead of using to pointers?
@JossinJax
@JossinJax 4 жыл бұрын
For deleting a link in the middle, why can't we just use one link and use link.prev to point to the p.prev and link.next to point to p.next instead of using to pointers?
@JossinJax
@JossinJax 4 жыл бұрын
For deleting a link in the middle, why can't we just use one link and use link.prev to point to the p.prev and link.next to point to p.next instead of using to pointers?
Check if the singly Linked List is a Palindrome
11:10
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 79 М.
Delete a node from single linked list( head node/ middle / end node)
11:00
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 163 М.
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 133 МЛН
Circular Linked List in Data Structures (with Code)
21:46
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 52 М.
Swap nodes in a linked list without swapping data (Very Easy Explanantion)
20:54
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 56 М.
LINKED LIST (DELETION FROM BEGINNING,ENDING AND SPECIFIED POSITION) - DATA STRUCTURES
21:32
Reverse a Doubly Linked List in C
12:12
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 48 М.
Doubly Linked List (Insertion between the Nodes) - Part 1
6:19
Neso Academy
Рет қаралды 127 М.