2.11 Insertion in Doubly Linked List(beginning, end, specific position) | Data Structures

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 378

  • @shadowyt1727
    @shadowyt1727 10 หลายเดือนก่อน +72

    This is 2024 and still this series can teach you better DSA than any BIG Universities colleges or professors.

  • @yashtyagi8040
    @yashtyagi8040 4 ปีที่แล้ว +280

    Literally IIT level teaching one of the brilliant teacher I have seen yet thanku so much mam 🤗

    • @pinakiprasannadas8567
      @pinakiprasannadas8567 3 ปีที่แล้ว +6

      You will also never see like her.

    • @HealthyOm
      @HealthyOm 3 ปีที่แล้ว +1

      😝

    • @mathematics6199
      @mathematics6199 3 ปีที่แล้ว +14

      IIT's don't teach well 😕

    • @bellalmahtab8220
      @bellalmahtab8220 3 ปีที่แล้ว +2

      Habhaii mam ka DSA KA VIDEO KAFII HAII FOR GATE

    • @vinaypratap620
      @vinaypratap620 3 ปีที่แล้ว +3

      Bhai kabhi IIT me pdai kre ho ky ho bol rahe IIT level ki pdai 🤔

  • @contentcreator8541
    @contentcreator8541 2 ปีที่แล้ว +67

    My friend said to me that in c or c++ programming linked list is very hard than any topics but when i watch your every lecture i feel that linked list is very easy than others topics.

  • @amangupta2130
    @amangupta2130 2 ปีที่แล้ว +33

    31:35 Third way
    newnode->prev = temp;
    temp->next->prev = newnode;
    newnode->next = temp->next;
    temp->next = newnode;

  • @SpharSarmiento
    @SpharSarmiento ปีที่แล้ว +17

    currently studying data structures in my summer vacation and so far im doing great understanding all the concepts of singly and insertion of doubly linked lists!
    Learning from a great teacher feels like we are learning magic!

  • @VishnuvardhanKolasani
    @VishnuvardhanKolasani ปีที่แล้ว +9

    3rd way of inserting
    newnode->next=temp->next;
    temp->next->prev=newnode;
    newnode->prev=temp->next;
    temp->next=newnode;
    thank you mam, because of you i'm able to understand each and every concept clearly.👨‍🎓

  • @-.-_._--
    @-.-_._-- ปีที่แล้ว +16

    0:10 create
    13:55 insert at beg
    17:17 insert at end
    20:45 at pos

  • @Mysteryp7
    @Mysteryp7 4 ปีที่แล้ว +37

    *temp logic in create node and *tail logic sounds very similar....
    but best clear and explanation compare to my other youtube videos.
    I think I found my youtube professor. thank you~!

  • @saritakumari-oh8fs
    @saritakumari-oh8fs 4 ปีที่แล้ว +8

    Because of you I become developer from QA. Thanks... Best lecture of DSA

  • @aasthamurdia6159
    @aasthamurdia6159 4 ปีที่แล้ว +11

    I wonder how could anyone dislike your videos.Your video is just amazing ma'am.

  • @usmansadiq2014
    @usmansadiq2014 4 ปีที่แล้ว +7

    Pretty Good and Straight Explanation with out confusing students. Thanks.

  • @aryan20052
    @aryan20052 3 ปีที่แล้ว +2

    Maam as you explained in one video where we used prev pointer and temp pointer to insert at a given pos in singly linked list , so i have tried to apply it in doubly linked list using a pointer name save and applied following operation:
    while(inext;
    i++;
    }
    nn->next=save->next; //nn is newnode
    temp->prev=nn;
    save->next=nn;
    nn->prev=save;
    Thank you for explaining everything at such a precise lvl.

  • @jeebasharin9746
    @jeebasharin9746 3 ปีที่แล้ว +19

    After your teaching I feel coding is easy in linked list . Thanks mam👍👍👌👌

  • @SharathR-mw2yo
    @SharathR-mw2yo 2 หลายเดือนก่อน +1

    literally the best teacher that i ever seen... sometimes i thought of sharing this to my lecturers, so that they can learn and will teach to us😂

  • @mbemmerganganal5282
    @mbemmerganganal5282 ปีที่แล้ว +2

    That smile 😄 at the end of the lecture gives a energy to continue learning

  • @aishwaryaghosh4329
    @aishwaryaghosh4329 5 ปีที่แล้ว +64

    I have ds in 3rd sem u have helped me a lot💖

  • @kavyag6326
    @kavyag6326 2 ปีที่แล้ว +6

    You are the "Best" Lecture ever. I had zero knowledge of DSA, but now I am learning a lot from you. Million thanks ma'am😍🤩🥰 Love from Karnataka!!

  • @LoveIsLifeTurkishIndia
    @LoveIsLifeTurkishIndia 4 ปีที่แล้ว +106

    So , conclusion is , we were declaring temp locally in all function.
    Tail is doing the work of temp , but tail is declared globally .

    • @normalpeople3441
      @normalpeople3441 4 ปีที่แล้ว

      Yes

    • @shrutirohila7869
      @shrutirohila7869 4 ปีที่แล้ว

      What if I declare temp locally and do the same work using it.. so will it be fine?

    • @normalpeople3441
      @normalpeople3441 4 ปีที่แล้ว +3

      @@shrutirohila7869 Yeah or you can declare it globally once and use throughout the program..

    • @shrutirohila7869
      @shrutirohila7869 4 ปีที่แล้ว

      @@normalpeople3441ok..thanks

    • @kumarkaustubh6657
      @kumarkaustubh6657 3 ปีที่แล้ว +1

      @@shrutirohila7869 there is no need of tail.insertion can e done without tail also

  • @bhargavsai5630
    @bhargavsai5630 ปีที่แล้ว +1

    She made dsa easier for every student. Thank you madam

  • @professorpoke
    @professorpoke 2 ปีที่แล้ว +3

    insert at beginning & insert at end and delete at beginning & delete at end, are symmetrical. Just switch these terms with one another
    head tail
    next prev

  • @taufiqnarsinghani9939
    @taufiqnarsinghani9939 4 ปีที่แล้ว +4

    Insertion after position while(i

  • @ramimhasan5095
    @ramimhasan5095 5 วันที่ผ่านมา

    her way of teaching is really good. Thank you mam for providing these lecture.

  • @ronak._kumar
    @ronak._kumar 4 ปีที่แล้ว +2

    Third way:-
    .
    .
    while(Inext;
    }i++;
    newnode->prev=temp;
    newnode->next=temp->next;
    temp->next->prev=newnode;
    temp->next=newnode;
    .

  • @sggffdgcx3769
    @sggffdgcx3769 3 ปีที่แล้ว +15

    After Jenny teaching these concepts, we repeat the coding before her😂

  • @umarawan4055
    @umarawan4055 5 ปีที่แล้ว +5

    Very good explaining mam keep it up thanks much a lot from Pakistan province punjab your smile is very awesome

    • @BatBallBites
      @BatBallBites 4 ปีที่แล้ว

      Awan sahib punjab from where ?

  • @kanavghai887
    @kanavghai887 5 ปีที่แล้ว +10

    doubly linked list made easy !

    • @tarunaswini6709
      @tarunaswini6709 4 ปีที่แล้ว

      Data Structures and Algorithms made easy ----> by Jenny Ma'am . ♥️♥️♥️

  • @thinesht3634
    @thinesht3634 2 ปีที่แล้ว

    Your teaching way is very super mam, it's very amazing . I don't have a staff like yours.

  • @GamingHub47751
    @GamingHub47751 3 ปีที่แล้ว +3

    you explain it like you sit inside the pc and your the compiler of c++ . i learned so much from your videos thanks for all video

  • @kirtikhohal5025
    @kirtikhohal5025 2 ปีที่แล้ว +4

    Also in the insertafterpos we should include the part if (pos==size) , i.e, the node will be added in the last position and we have to change our tail pointer.

    • @sandip_kanzariya8476
      @sandip_kanzariya8476 2 ปีที่แล้ว +4

      We need to put condition
      else if (pos == Size_Of_LL){
      InsertAtEnd();
      }
      I hope it is helpful

  • @KavyaPotnuru
    @KavyaPotnuru 6 หลายเดือนก่อน

    Mee teaching very efficient gaa vundi mam

  • @Ary2345
    @Ary2345 5 หลายเดือนก่อน +1

    A genuine advise for newbies...if you haven't watch single linked implementation and insertion at different places video .... first watch that. Then it would be too easy to you to get the logic. Then you would also know that you can use temp instead of tail and won't be confused.
    Go watch the single linked list implementation first 🙏🏻👍🏻

  • @bhavesh7162
    @bhavesh7162 2 หลายเดือนก่อน

    Watching 2024 September before one month exam still can't find any better explanation than these
    A sincere gratitude to you 🙏 mam

  • @siddharthdangwal6174
    @siddharthdangwal6174 3 ปีที่แล้ว

    great lectures for cs students thanks a lot
    better quality lecture than university professor

  • @ZeeshanAli-yp3wo
    @ZeeshanAli-yp3wo 3 ปีที่แล้ว

    Your concepts are much more helpful dear....
    Love from Pakistan....

  • @WebDude
    @WebDude 5 ปีที่แล้ว +9

    If you guys are watching the videos in series, then start this video at 14:00, till then previous lecture has been repeated only.

    • @sahilprasantachoudhury911
      @sahilprasantachoudhury911 5 ปีที่แล้ว

      Actually she has explained about the use of tail pointer till this which wasn't mentioned earlier

    • @biswajitsahoo1456
      @biswajitsahoo1456 5 ปีที่แล้ว +2

      @@sahilprasantachoudhury911 but I think that tail and temp has a lot similarity in them...

    • @sahilprasantachoudhury911
      @sahilprasantachoudhury911 5 ปีที่แล้ว +1

      @@biswajitsahoo1456 yes,but it's better to get all the steps clarified right?

  • @ShrewdRam
    @ShrewdRam 4 ปีที่แล้ว +2

    The way of explaining is nice...keep rocking ☺️

  • @schoolofyourtalent
    @schoolofyourtalent 4 ปีที่แล้ว +3

    31:37
    3rd way
    temp=newnode->next;
    temp->prev=newnode;

  • @anonymousfan9703
    @anonymousfan9703 3 ปีที่แล้ว

    Because I know Somewhere deep down in my heart I still love you
    Love ur videos

  • @mahimsd7645
    @mahimsd7645 5 ปีที่แล้ว +6

    Happy Janmanshtami....
    God bless you !!!!

  • @pragnareddymosra5523
    @pragnareddymosra5523 3 ปีที่แล้ว +1

    Let take tail as pos +1
    Then
    Newnode->next=temp->next
    Temp->next =newnode
    Newnode->prev=tail
    Tail->prev=newnode

  • @nazirshams6040
    @nazirshams6040 4 ปีที่แล้ว +3

    thank you so much for this video.But there was no difference in the temp and tail pointer(temp pointer used in your earlier lacture)

  • @hashbitfam
    @hashbitfam 5 ปีที่แล้ว +8

    love the way of your teaching! Damn Crush..💖 Love from Pakistan... Peace

    • @dipesh1401
      @dipesh1401 4 ปีที่แล้ว +2

      #PKMKB

    • @mromer3052
      @mromer3052 3 ปีที่แล้ว

      @@dipesh1401 ikmkb

  • @aryansingh2105
    @aryansingh2105 4 ปีที่แล้ว +1

    For Java :
    //function to insert data in doubly linked list(default end)
    public void append(int data) {
    Node node = new Node(data);
    Node temp = head;
    if(head == null) {
    head = temp = node;
    return;
    }
    else {
    while(temp.next != null) {
    temp = temp.next;
    }
    temp.next = node;
    node.prev = temp;
    }
    }
    //function to insert data in start of doubly linked list
    public void push(int data) {
    Node node = new Node(data);
    node.next = head;
    //node.prev = null;
    if(head == null) head = node;
    else {
    head.prev = node;
    node.next = head;
    head = node;
    }
    }
    //function to insert at a given position
    public void insert(int pos, int data) {
    if(pos < 1 && pos > length()) System.out.println("Invalid position to insert.");
    else if(pos ==1) push(data);
    else {
    Node node = new Node(data);
    Node tempNode = head;
    int count = 1;
    while(count < pos-1 && tempNode.next != null) {
    tempNode = tempNode.next;
    count += 1;
    }
    node.prev = tempNode;
    node.next = tempNode.next;
    tempNode.next = node;
    if(node.next != null) node.next.prev = node;
    }
    }

  • @mad.for.videos
    @mad.for.videos 2 ปีที่แล้ว

    31:36 third way
    {
    newnode->next =temp;
    newnode->prev=temp->prev;
    temp->next = newnode;
    temp=newnode->prev;
    temp-> = newnode;
    }

  • @jg8742
    @jg8742 4 ปีที่แล้ว +8

    Dear mam, please correct me if i am wrong, when i want to insert a node at a positon, can;t we do in this way that we take a extra pointer lets say a, and then while we are traversing , we can keep our condition for while loop as i NEXT = new_node, new_node -> prev = a new_node-> next = temp, new_node -> data = data. Please correct me if i am wrong

    • @bigk2367
      @bigk2367 3 ปีที่แล้ว +1

      that's what mam said in video you can take another pointer if you want! But this don't do anything except increasing the space of program.

  • @ratikantabiswal8053
    @ratikantabiswal8053 2 ปีที่แล้ว

    Excellent Way of Explanation

  • @parthmaheta6373
    @parthmaheta6373 3 ปีที่แล้ว +1

    In another way at insert atpos()
    temp = newnode->next ;
    temp->prev = newnode

  • @sajadch6526
    @sajadch6526 4 ปีที่แล้ว +8

    mam can we insert node without using the tail like we done in single linked list by making some logical change by our own

    • @sakthivigneshvar4428
      @sakthivigneshvar4428 4 ปีที่แล้ว +1

      You can but time complexity will be O(n)

    • @LP-ih2ye
      @LP-ih2ye 4 ปีที่แล้ว +1

      @@sakthivigneshvar4428 so how you will implement tail pointer at the end of the linked list?
      Then you have to traverse from head to end again

    • @sakthivigneshvar4428
      @sakthivigneshvar4428 4 ปีที่แล้ว

      @@LP-ih2ye No need to traverse, you can simply make tail's next as newnode and that newnode as tail, which is why it is O(1)

    • @LP-ih2ye
      @LP-ih2ye 4 ปีที่แล้ว

      @@sakthivigneshvar4428 if you don't mind can you please write the code of inserting at end 🙂?

    • @sakthivigneshvar4428
      @sakthivigneshvar4428 4 ปีที่แล้ว +1

      @@LP-ih2ye Yeah ok, for doubly linked list:
      newnode->next = 0;
      newnode->prev = tail;
      tail->next = newnode;
      tail = newnode;
      For singly linked list, just write:
      newnode-next = 0;
      tail-next = newnode;
      tail = newnode;

  • @samirhusain1685
    @samirhusain1685 5 ปีที่แล้ว +2

    Thank You ma'am ! Please keep making videos,

  • @Hemashree_Gunasekaran_25
    @Hemashree_Gunasekaran_25 7 หลายเดือนก่อน

    17:06 insert at beginning
    20:39 insert at end

  • @abrarlasebai405
    @abrarlasebai405 4 ปีที่แล้ว +1

    شكرا جزيلا لك

  • @BATOOL_KHAN123
    @BATOOL_KHAN123 ปีที่แล้ว +1

    Thank you sooo much ma'am ❤❤
    Really appreciate ❤

  • @kirtikhohal5025
    @kirtikhohal5025 2 ปีที่แล้ว +1

    Also in the insert at pos function we need to separately mention the condition that if position=size +1 , that is the user wants to enter the data at last position, then we have to call the insert at end function, bcoz in this case we need to update the tail pointer also.

    • @susantadey2408
      @susantadey2408 2 ปีที่แล้ว

      can you send me the code?

    • @kirtikhohal5025
      @kirtikhohal5025 2 ปีที่แล้ว +1

      If (pos==size+1)
      { delfromend();
      }
      The delfromend function that we have written previously will accordingly update the tail pointer.

  • @Akashkumar_12
    @Akashkumar_12 ปีที่แล้ว

    Mam teaches very nice and best understanding

  • @preethilatadanguria6946
    @preethilatadanguria6946 2 ปีที่แล้ว

    Newnode->prev=temp;
    Newnode->next=temp->next;
    Temp->next->prev=newnode;
    Tempo>next=newnode;

  • @tarunrkumar2756
    @tarunrkumar2756 3 ปีที่แล้ว

    explained so smoothly , thank you ma'am

  • @jaganiabhisheknavab7954
    @jaganiabhisheknavab7954 2 ปีที่แล้ว

    Literally excellent explain and teaching good

  • @nateshsingh9968
    @nateshsingh9968 ปีที่แล้ว

    //by creating another pointer. which will be pointing towards temp->next
    void insert_at_pos()
    {
    node *head, *newnode, *temp, *thptr;
    newnode = (node *)malloc(sizeof(node));
    cout newnode->data;
    int pos, i = 1;
    cout pos;
    temp = head;
    while (i < pos - 1)
    {
    temp = temp->next;
    }
    thptr =temp->next;
    temp->next=newnode;
    newnode->prev=temp;
    newnode->next=thptr;
    }

  • @aqsazahoor681
    @aqsazahoor681 4 ปีที่แล้ว +3

    Thanks a lot mam
    You are amazing mashallah Allah bless you 😊

  • @madhushreekulkarni9866
    @madhushreekulkarni9866 3 ปีที่แล้ว +1

    Thankyou so much! your efforts in teaching reduces our effort in studying.

  • @pradumansharma4569
    @pradumansharma4569 4 ปีที่แล้ว +2

    You make linkedlist like halwa.
    No one can teach like u, special on youtube

  • @piyushpathak7311
    @piyushpathak7311 5 ปีที่แล้ว +4

    Mam plz make videos on time complexity..

  • @Babalicious_babina
    @Babalicious_babina 6 หลายเดือนก่อน

    Nice explanation.....aapke jaise professors kyu nhi hote college m....😢😢

  • @professorprasam
    @professorprasam 3 ปีที่แล้ว +2

    YES!! Their is one another way without using the concept of double pointer. Which is -
    updating the value of temp i.e
    temp = newnode -> next ;
    newnode of next containing the value of nextnode i.e 200 so, temp = 200.
    Then, updating the value of temp of prev i.e
    temp -> prev = newnode ;
    new node containing 500. So, 500 assign to the temp of prev.
    If my logic is RIGHT please reply me .Thank you.

  • @akhil1324
    @akhil1324 3 ปีที่แล้ว

    It's help me most in Ds .👍

  • @etc_fin_b_21_kaleshailesh17
    @etc_fin_b_21_kaleshailesh17 3 ปีที่แล้ว

    THE ALTERNATE LOGIC FOR ADD NODE AT POS
    newnode->prev=temp
    newnode->next=temp->next
    temp->next=newnode
    newnode=newnode->next
    newnode->prev=temp->next

  • @foyazunnesamomo8223
    @foyazunnesamomo8223 3 ปีที่แล้ว

    Too good, Madam. Thanks a million.

  • @ronak._kumar
    @ronak._kumar 4 ปีที่แล้ว +1

    Thankyou so much dearest mam ❤️❤️

  • @KandulaAsrith
    @KandulaAsrith 2 ปีที่แล้ว

    Mam simply traverse the temp through the newly created node
    temp=temp->next;
    temp=temp->next;
    Now write
    temp->prev=newnode

  • @savaliyanisargrameshbhai8922
    @savaliyanisargrameshbhai8922 5 ปีที่แล้ว +4

    Fabulous way of teaching 👌👌👏👏

    • @captshivakumar947
      @captshivakumar947 11 วันที่ผ่านมา

      wdym fabolous stop staring at maam

  • @jai.shri.ram.3000
    @jai.shri.ram.3000 4 ปีที่แล้ว

    ma'am while adding at the end I thought u should also [rovide the code for the data where there is no data in the linked list.
    Thank you for this wonderful video with that much simplicity loved the way of your teaching.

  • @AISHWARIAROYSNIGDHA
    @AISHWARIAROYSNIGDHA 4 ปีที่แล้ว

    Very helpful video,thank you ma'am.

  • @himanshusingh4282
    @himanshusingh4282 4 ปีที่แล้ว

    Third way is temp->next->prev=newnode; and then temp->next=newnode;

  • @chanduyadav7037
    @chanduyadav7037 2 ปีที่แล้ว

    Else if(pos>length (head)) {
    Pf("length exceeded");
    }

  • @akankshaawasthi3932
    @akankshaawasthi3932 4 ปีที่แล้ว +2

    While i less than equal to pos -1 we can also write this on after pos.

  • @professorpoke
    @professorpoke 2 ปีที่แล้ว

    Good practice: Always initialise a pointer with a NULL value.

  • @kkushboo5770
    @kkushboo5770 ปีที่แล้ว

    Really excellent explanation mam

  • @PromishPatel-jo3xw
    @PromishPatel-jo3xw 5 วันที่ผ่านมา

    Superb Mam👍

  • @hemanshuparmar5005
    @hemanshuparmar5005 ปีที่แล้ว

    ❤thank u so much ma'am....for this great explanation 🪷

  • @PankajKumar-qb9ic
    @PankajKumar-qb9ic 4 ปีที่แล้ว

    Nothing to say ..Just keep it up👏👏👌

  • @roohullahroohani5383
    @roohullahroohani5383 3 ปีที่แล้ว

    Mam, may Aap sy bhot pyar krta hun, hrrat ap ki awaz sun k sota hun. love from AFGHANISTAN

  • @surajmundada8298
    @surajmundada8298 2 ปีที่แล้ว

    last step is temp->next->prev = newnode

  • @ritikabali6466
    @ritikabali6466 3 ปีที่แล้ว

    very well explained. thank u so much.

  • @im_dilsad
    @im_dilsad 5 ปีที่แล้ว +3

    Nyc maam👏👏👏

  • @holyshit922
    @holyshit922 5 ปีที่แล้ว +1

    I found insertion for sorted singly linked list
    I updated tail pointer and connected prev pointers
    and it works for doubly linked list but one of the traversal pointers can be eliminated
    To get rid this extra pointer insert before will be useful
    What cases should we consider when inserting before given node etc

  • @006daredevil
    @006daredevil 2 ปีที่แล้ว +1

    There is a mistake in while loop of insert after position. Instead of while(i

    • @ayushmittal9666
      @ayushmittal9666 ปีที่แล้ว

      No there is no need for equal sign in the condition. You can dry run and then check

  • @ShivamSharma-pn6yd
    @ShivamSharma-pn6yd 3 ปีที่แล้ว +1

    first we will update the value of node which is occur after new node
    newnode->prev=temp;
    newnode->next=temp->next;
    temp->next->prev=newnode;
    temp->next =newnode;

  • @hamidullah3641
    @hamidullah3641 5 ปีที่แล้ว +7

    May Allah bless u always

  • @vishalhasrajani9567
    @vishalhasrajani9567 4 ปีที่แล้ว +2

    what if we have to take the data from structure and then insert node after specific data given?

  • @ab756
    @ab756 5 ปีที่แล้ว +3

    Make please make video on time complexity of code

  • @Mohitsingh-lk7ez
    @Mohitsingh-lk7ez ปีที่แล้ว

    insertatpos....3rd way
    {
    newnode->prev=temp;
    newnode->next= temp->next;
    temp->next->prev=newnode;
    temp->next=newnode;
    }

  • @-AshwithaAlladi
    @-AshwithaAlladi 3 ปีที่แล้ว

    Ur explanation is same as ur beautiful face 😍😍 tq mam❤️

  • @sandip_kanzariya8476
    @sandip_kanzariya8476 2 ปีที่แล้ว +1

    Thanks mam !
    InsertAfterPos me
    else if (pos == size_of_ll){
    InsertAtEnd();
    }
    because we need to update tail also.

  • @panditrocks3232
    @panditrocks3232 4 ปีที่แล้ว +4

    mam i have get segmentation fault error in addatend function,

  • @saibathala1086
    @saibathala1086 4 ปีที่แล้ว

    Thank you so much for these videos
    TH-cam goddess teacher ❣️❣️

  • @Abhishek-od1wp
    @Abhishek-od1wp 4 ปีที่แล้ว

    Awesome teaching

  • @rahulmuthavarapu4793
    @rahulmuthavarapu4793 5 ปีที่แล้ว +4

    //alternate method
    newnode->prev=temp;
    newnode->next=temp->next;
    temp->next->prev=newnode;
    temp->next=newnode;

    • @aryansingh2105
      @aryansingh2105 4 ปีที่แล้ว +1

      @Rahul , I think in 3rd line
      if( temp->next != null) temp->next->prev = newNode;
      should be the case, otherwise it can give null pointer exception.

  • @Ayush479
    @Ayush479 4 ปีที่แล้ว +2

    Thank you very much for your great explanation on ds algo🤗

  • @atharvkumbhar1463
    @atharvkumbhar1463 ปีที่แล้ว

    Temp->next->next->prev=newnode;

  • @shrutigupta9319
    @shrutigupta9319 3 ปีที่แล้ว

    💙💙Ur explanation!!