Doubly Linked List - 1:25 Representation of DLL - 2:47 Array to DLL (CPP) - 4:00 Array to DLL (Java) - 12:14 Delete head DLL(cpp) - 14:32 Delete head DLL(Java) - 19:24 Delete Tail DLL (cpp) - 20:15 Delete Tail DLL (java) - 24:50 Delete Kth (cpp) - 25:41 Removing given node - 39:43 Insert node before (head) - 44:54 Insert node before (Tail) - 47:25 Insert node before (kth node) - 52:40 Insert before given node - 58:00
@AmanSharma-xy1qm11 ай бұрын
All the video lectures and the articles helped me a lot to gain confidence in DSA and will be helping me in the interviews. Thank you Striver bhaiya for bringing such amazing content for free.
@sunitasharma30164 ай бұрын
bhaiya aap konse year mein ho
@AmanSharma-xy1qm4 ай бұрын
@@sunitasharma3016 I am 2024 graduate, and currently I'm working as a software developer in a company with 5 LPA. And striver only responsible to get me there. One advice to all is follow his content blindly ❤️
@darkwarrior67674 ай бұрын
@@sunitasharma3016 2nd
@HARSHITJAIN-dk4ms21 күн бұрын
Love that all the elements in any data structure my guy here makes are so understanding and polite even in the face of certain death❤
@saswatrath46467 ай бұрын
Even inserting before parts felt easy to me and I coded those by myself. Thanks striver! you have been an awesome teacher.
@BBITIANsujay7 ай бұрын
You making the DSA like everyday its a cup of tea , what a man.... >>>>>> any paid courses
@SURYAPARIDA-r7i2 ай бұрын
idk why but really hats off to you , after learning The first thirteen minutes of content i got so confident that i promptly went for solving LRU Cache 😂 ( though couldnt solve it , i will definitely do after watching the complete content ) but i am now confident on my Linear DS Primers !!! Thank You
@Ankita-h2x9r2 ай бұрын
He's such an amazing teacher ...... he's a life saver...may he do good in his life
@neerajnishad32009 ай бұрын
one of the great DSA lecture on youtube..........i mean only one
@harshitgarg2820 Жыл бұрын
Completed all the 10 ques and moving to the next video🚀🚀
@Prasanna-im1zy2 ай бұрын
Where are they
@JunaidShareef-j4u7 ай бұрын
Bhai you literally made DS & ALGO easy💌💘 your way of teaching touches skies😎
@roshangeorge97 Жыл бұрын
Please like the video whether you like the video or not, please like the video he is putting up a lot of effort on it..
@Me-nh3pt3 ай бұрын
00:04 Doubly linked list allows traversal in both directions. 02:03 Doubly linked list stores data and points to both next and previous nodes. 06:21 Adding a new node to the doubly linked list 08:35 Creating a doubly linked list from an array 13:11 Converting array to doubly linked list 15:11 Deleting from a doubly linked list with multiple elements 19:20 Implementing delete operations on a doubly linked list. 21:17 Ensure the new tail of the linked list points to null and disconnect from the previous element. 25:21 Deleting elements from a doubly linked list 27:22 Traversing a Doubly Linked List to find the kth node 31:46 Handling deletion in Doubly LinkedList 33:55 Deleting a node in a Doubly LinkedList 37:57 Deleting a given node from a doubly linked list involves changing pointers. 40:00 Explaining how to delete a node in a Doubly LinkedList 44:06 Learning about insertion of nodes in doubly linked list. 46:19 Inserting before head and tail of a linked list 50:19 Inserting before the tail in a doubly linked list. 52:27 Inserting before the Kth node of a linked list 56:51 Inserting before a given node in a Doubly LinkedList 58:50 Understanding insertion of nodes in a doubly linked list 1:02:40 Deletion of tail using Doubly LinkedList Crafted by Merlin AI.
@shwetachoudhary9003Күн бұрын
each and every logic get into my head❤ thank you soo much sir❤ i am addicted to this playlist now
@AbhishekVerma-yw1ps Жыл бұрын
Great work sir, iske baad String ki playlist aa jaye toh accha rahega kyunki baaki KZbin ne String utna deep dive kiya nhi in terms of algorithms and questions. So, if possible please bring string playlist in near future. Thanks ❤
@codeguy21 Жыл бұрын
strings are vast , no matter how much ever we solve there can still be a question which we may not be able to do , instead ask for stack queue or heaps , greedy etc
@AbhishekVerma-yw1ps Жыл бұрын
@@codeguy21 stacks, queues or heaps are easier topic. There are 4-5 patterns on each if you understand the pattern you can solve. Also many other KZbinrs have taught these topics. But string is something that is not much touched yet and is also important in terms of interview. I myself faced string questions in 7 interviews out of 10.
@Lucifer0872 Жыл бұрын
@@AbhishekVerma-yw1psaverage kiitian
@unknownplanet69911 ай бұрын
@@AbhishekVerma-yw1ps can you tell the patterns .
@unknownplanet69911 ай бұрын
@@AbhishekVerma-yw1ps can you tell the patterns .
@softwareengineering10111 ай бұрын
@38:46 If k is out of bound adding below code after while statement would cover that scenario if (kNode == null) { return head; // K is larger than the length of the list }
@CinematicClips-uz3mk4 ай бұрын
The k ranges from 1 to N 25:51
@bhagyashreeaher742910 ай бұрын
Thank you so much Striver for amazing series !!!! Great work👍👌
@lakshyadalal82963 ай бұрын
Thanks a lot dude for adding question links in the description 👌
@shamanthhegde28203 ай бұрын
I want to point out a small mistake aside from that the tutorial is fire. when you are deleting head make sure there is a node present when moving the pointer because you have to make the prev pointer of the next node null. This issue can occur when there is only one element present in DLL
@PCCOERCoderКүн бұрын
Lecture successfully completed on 26/11/2024 🔥🔥
@himanshupokhriyal68839 ай бұрын
Hello Striver Bhaiya , I have doubt in a specific part of the code . My doubt is in inserting a node at Kth node problem. Like I am thinking of an edge case in which if(head == NULL) && (head == NULL) which basically mean list is empty and list has only 1 element respectively right and if (K > 1) which basically mean it is telling us to insert a node at the position where node is not available right and then for that we have to return NULL . So, basically I wanted to tell my point on this case , I know you would have also tell that point but might have forgetten while teaching. By the way Thank You Bhaiya for creating this wonderful DSA playlist , it really really helped me. Hope in future I could meet you in person. Thank You Bhaiya
@Vvvvviieiei123 Жыл бұрын
lecture 3 done,love u bhaiya
@sahilmujawar821728 күн бұрын
great work bhaiya💌
@komalrathore5145 Жыл бұрын
Thanks striver for this free series
@Future_software_enginneer Жыл бұрын
Your english is also very simple so I am able to understand easily
@sahilrao45922 ай бұрын
but your english is not good.
@Future_software_enginneer2 ай бұрын
@@sahilrao4592 yes I know already 😂
@sahilrao45922 ай бұрын
@@Future_software_enginneer nice you edited 😁😆
@COMRADE_ARMYАй бұрын
Striver is doing extremely well
@nitinsaxena481219 күн бұрын
Bro make DSA my addiction
@S3aw0lf9 ай бұрын
For doing deletionAtTail instead of storing back in another Node we can just do tail.back.next. Anyone reading the comment correct me if I'm wrong. Great explanation and superb playlist
@manas46562 ай бұрын
well that is a smart way of doing it, I will trying doing it this way ❤
@oyeesharme4 ай бұрын
thanks for your efforts bhaiya
@doremon810727 ай бұрын
Thanku you bhaiya making topics so easy. :)
@adebisisheriff1599 ай бұрын
Thanks Striver for the help all the time!!!!
@krishnagarg2583Ай бұрын
for the part tail deletion we can simply traverse to the last node and do temp->back->next = nullptr in cpp and can simply do it in one line and wont be making a new temporary variable to store previous Node *DeleteTail(Node *head) { if (head == nullptr) { return nullptr; } // if the list has only one node if (head->next == nullptr) { delete head; return nullptr; } Node *temp = head; while (temp->next != NULL) { temp = temp->next; } temp->back->next = nullptr; temp->back = nullptr; // its not compulsary to do as we delete temp delete temp; return head; }
@preetikkasundareswaran589410 ай бұрын
Hey Striver...We love you as always😍
@sulthan6131 Жыл бұрын
Bro going to upload the whole album
@SaiSumanthKovuru Жыл бұрын
Such a great heart to share knowledge!
@itachiuchiha-bo7jw Жыл бұрын
please sir i havent found any great source for strings and facing so many problem please sir make a playlist for Strings that would be a great help
@kartikg99709 ай бұрын
yes sir please make a playlist for strings
@dhruvsovasariaАй бұрын
thankyou
@kajalsharma59522 ай бұрын
true dsa treasure
@shivamsays28613 ай бұрын
Thankyou so much❤❤
@PAVANKUMAR-q1h5y4 ай бұрын
striver when will you do strings part
@nerellapavan43203 ай бұрын
Yaa please
@shubha_jagadeesh8 күн бұрын
Love with ur vedios ❤
@AmanKumar-mp2xw3 ай бұрын
for deleting the kth node, suppose if DLL length is 4 and my k=8, the while loop will stop when temp is the last node, making prev as second to last node, and front will become the nullptr, that means even though k is beyond the length of linked list , we still removed the last node because front was null
@hareshnayak73027 ай бұрын
Understood,Thanks striver for this amazing video .
@saitejanedunoori54515 ай бұрын
great work and thank you THALA
@mamun3192 Жыл бұрын
best explanation ever!🎉
@AsifWest-wp5ke7 ай бұрын
Thankyou...Help people God will help you
@publicuses8589 Жыл бұрын
Striver bhaiya u r the besssttttttttt
@striverdaaadi10 ай бұрын
striver is best😍😍
@prasanjit.bhanja5 ай бұрын
Legend striever ❤
@ASaicharan-zz8jn4 ай бұрын
great thanks to TUF
@Abhishek7Shah7 күн бұрын
Understood bhyiayaa
@RaghavN-rd5zw6 ай бұрын
Thank you so much Striver!!!
@Dipanshutripathi240711 ай бұрын
Done and dusted like never before.
@TON-10810 ай бұрын
Thank You Bhaiya.... Understood!!!
@KartikeyTT6 ай бұрын
Bhaiya many of the problem links in the description are not correct. Please look into that
@MayankisG3 ай бұрын
Best 👽👽
@fitofficial651023 күн бұрын
46:11 the function name insertBeforeHead is misleading if we’re handling the case where head might be NULL. When head is NULL, there’s technically no "head" to insert before. Otherwise, top-notch video :)
@PremShinde-p4q7 ай бұрын
Instead of taking new variable prev, we can also do like, tail.back.next = null; tail.back=null; right??
@tommybhaiya5987 ай бұрын
Bro you are fabulous
@DrOnZeR20224 ай бұрын
I think there should be a correction in deletation in the case when front ==NULL) previous should be point to null ptr prev->next=null ptr
@SPonharshitaP10 ай бұрын
Sir when will you post videos for sliding window techniques, and problems on stacks and queues ?
@Tbm454528 күн бұрын
14:10 deltion
@ashj11652 ай бұрын
hey striver, thanks for the series. do we have to assign prev->next = nullptr? as we are eventually deleting prev itself, will the next pointer cause any problems?
@RajNamdev_193 ай бұрын
understood :)
@codeguy21 Жыл бұрын
striver bhai , waiting for agala lecture
@Tan_cannon6 ай бұрын
What are the 2 problems showing below (in problem tab) when writing in c++?
@103_debopriyoghosh_cse_by67 ай бұрын
If i do get a Good Job with 6lpa + , Its all because of you Raj Bhaiya❤
@pratikpatil1776Ай бұрын
47:00 insert before head should have condition for if(head == null)
@DeadPoolx17122 ай бұрын
UNDERSTOOD;
@drishtirai8647 ай бұрын
Thank you Sir !
@MRADUL_GUPTA_15 ай бұрын
@ 18:54 at line 47 what if i not write prev->next =nullptr and straight away write delete prev will the link between prev and head will be removed automatically or its necessary to remove link between prev and head manually.
@vikasshukla62063 ай бұрын
you should have chosen the meaningful variable names like head & tail not head & prev, its confusing
@JAYADILEEPSEETHINA-x7g Жыл бұрын
Deletion of tail of the DL. you given this link wrong striver.can you please check and update it
@NazeerBashaShaik7 ай бұрын
Understood, thank you.
@MJBZG4 ай бұрын
understood, could code by myself
@sarangkumarsingh79015 ай бұрын
Awesome ....
@YourCodeVerse10 ай бұрын
Understood✅🔥🔥
@RaviKumar-sn6tu7 ай бұрын
best video !!!
@ompawar9791 Жыл бұрын
I am the first to hitttt the like button
@firedr4g0n45 Жыл бұрын
🥇 ye le
@harshitshiva17 ай бұрын
thanks sir
@manojkumar-mc3zw8 ай бұрын
thanks bro
@sumitworld9186 ай бұрын
Understood 😌
@Ergoswami7 ай бұрын
Completed!
@anshgupta2506 Жыл бұрын
hey striver in removeKelement dont you need to have a flag to check whether the while loop is terminated when kNode==NULL or cnt becomes == k. I mean there are two conditions through which we can come out of while loop. Lets say k==5 then we come out of it when kNode becomes ==NULL and then in the next step you are writing Node* prev=knode->back, so i think here we will get error
@khalasianiket8164 ай бұрын
understood❤
@rushidesai28367 ай бұрын
Amazing!
@SameerSharma-y4mАй бұрын
Hey everyone, I just have a small doubt at 22:53. Is there any need for removing the tail->back when we are deleting it anyway?
@Tbm454526 күн бұрын
52:44 inserting kth node pos in link list 52:45
@ArunsinghParihar-j3j8 ай бұрын
Understood
@firebout76758 ай бұрын
understood
@MohitKumar-o3l1u5 ай бұрын
Understood !!
@SatheeshKumar-kg1yn8 ай бұрын
Understood!
@codeman38289 ай бұрын
Awesome
@Devkumar-en7zu3 ай бұрын
just a small doubt is: that in the question of deleting the node of a DDL at time 43:09, the node to be deleted was given as argument, so just i want to know is that do by providing the node as an argument and not traversing to get it and then putting the logic for deletion, the note gets deleted or it is because you have continued the different operations in one program
@kajalsharma59522 ай бұрын
one playlist for strings please
@HitanshuRathi-zz5vn4 күн бұрын
Unserstood brother
@divyachaudhary8669 Жыл бұрын
❤striver
@himanshukaushik922310 ай бұрын
Bhaiya apka solution coding nija pa TLE da rahe hai insertion of double linked list ka yha o/w compile error ??
@ritvitiwari7785Ай бұрын
sir plz upload strings playlist
@ManasNandMohan11 ай бұрын
Deletion of head & tail aap same link dal diye hai description mai