2.6 Deletion of a node from Linked List (from beginning, end, specified position) | DSA Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • In this video we have written a C program for Deletion operation in Linked List. We have discussed how to delete a node form singly linked list (from beginning, from end, from given position) with examples. and with Code
    DSA Full Course: https: • Data Structures and Al...
    ******************************************
    See Complete Playlists:
    C Programming Course: • Programming in C
    C++ Programming: • C++ Complete Course
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    DAA Course: • Design and Analysis of...
    Placement Series: • Placements Series
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    ************************************************
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    #datastructures
    #linkedlistindatastructure
    #algorithms
    #dsa

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

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

    CORRECTION: 1) In delfrombeg() function we will write one more condition to check whether there is only one node in the list :
    if(head->next==0)
    { head=0;
    free(temp);
    }
    2) in delfrompos() function check for corner case (if position is 1 then call delfrombeg() function):
    if(pos==1)
    { delfrombeg();
    }
    Also check for invalid position by finding the length of the list.(This case I have discussed in deletion from circular linked list video)

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

      yes,that is great approach

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

      Correction 1): not required.

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

      head=head->next;
      Will work

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

      int i = 1;
      while (i < pos - 1) {
      temp = temp->next;
      i++;
      }
      nextNode = temp->next;
      if (pos == 1) {
      head = nextNode;
      free(temp);
      } else {
      temp->next = nextNode->next;
      free(nextNode);
      }
      According to me, the only modification required is the one which I've written with if (pos == 0) and it's else part. Otherwise, the current code is good to go. I am assuming here the user has written a separate code for delete at the beginning.

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

      MA'AM No.1) mein free(head) hoga na ?

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

    Clear and neat explaination mam......3 months of class solved in one day😅😅😅🤩🤩🤩🤩

  • @Strawberry12352
    @Strawberry12352 ปีที่แล้ว +27

    The singly Linked list was discussed by my college professors and tuition teacher at least 4 or 5 times still there was confusion. But now it is so clear within one day. Thank you ma'am 🙇

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

    it took me 2years to clear my doubts about linked list.thank you so much ma'am.

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

    Thankyou Ma'am So much . ❤❤❤
    I am taking stress for DSA subject 😢.
    But after attending your lecture it seems like DIL GARDEN GARDEN HO GYA.
    Full respect ma'am.
    गुरु ब्रह्मा गुरु विष्णु गुरु देवो महेश्वरा:
    गुरु साक्षात परम ब्रम्ह तस्मे श्री गुरवे नमः

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

    What a explanation madam everyone without any basics will also understand your lectures .Thank you mam 🙏🙏

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 4 หลายเดือนก่อน +1

    Thanks mam, you are the best teacher in the world for programming.

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

    I think you are great teacher thanks alot. You thought far much better than my lecturer in class.

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

    //code for single linked list
    #include
    #include
    void creation();
    void display();
    void insertion();
    void deletion();
    void search();
    int length();
    struct node
    {
    int data;
    struct node *next;
    };
    struct node *temp,*newnode,*head,*nextnode;
    int main()
    {
    int ch;
    while(1)
    {
    scanf("%d",&ch);
    switch(ch)
    {
    case 1:creation();
    break;
    case 2:display();
    break;
    case 3:insertion();
    break;
    case 4:deletion();
    break;
    case 5:search();
    break;
    case 7:exit(0);
    break;
    default:printf("Invalid Choice");
    }

    }
    }
    void creation()
    {
    int x=1;
    head=NULL;
    while(x)
    {
    newnode=(struct node *)malloc(sizeof(struct node));
    printf("Enter Data: ");
    scanf("%d",&newnode->data);
    newnode->next=0;
    if(head==NULL)
    temp=head=newnode;
    else
    {
    temp->next=newnode;
    temp=newnode;
    }
    printf("Enter 0 to stop or 1 to continue
    ");
    scanf("%d",&x);
    }
    }
    void display()
    {
    temp=head;
    while(temp!=NULL)
    {
    printf("%d ",temp->data);
    temp=temp->next;
    }
    }
    void insertion()
    {
    int pos,i=1,x;
    x=length();
    temp=head;
    printf("Enter position ");
    scanf("%d",&pos);
    if(pos>x)
    printf("Invalid Positon");
    else
    {
    while(inext;
    i++;
    }
    newnode=(struct node *)malloc(sizeof(struct node));
    printf("Enter Data: ");
    scanf("%d",&newnode->data);
    newnode->next=temp->next;
    temp->next=newnode;

    }
    }
    void deletion()
    {

    int pos,i=1,y;
    y=length();
    temp=head;
    printf("Enter Position ");
    scanf("%d",&pos);
    if(pos>y)
    printf("Invalid Position");
    else
    {
    while(inext;
    i++;
    }
    nextnode=temp->next;
    temp->next=nextnode->next;
    free(nextnode);

    }

    }
    void search()
    {
    int key,flag=0;
    temp=head;
    printf("Enter key: ");
    scanf("%d",&key);
    while(temp!=NULL)
    {
    if(temp->data==key)
    {
    flag=1;
    }
    temp=temp->next;
    }
    if(flag==1)
    printf("Key is found");
    else
    printf("Key is not found");
    }
    int length()
    {
    int count=0;
    temp=head;
    while(temp!=NULL)
    {
    count++;
    temp=temp->next;
    }
    return count;
    }

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

      Thank you brother

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

      Thank you 😊

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

      Hey how can I copy this?

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

      @@lifeahead5208for phone -> take screen shoot of comments //2->go to goggle and serach your screen shot then select text then u can copy that

    • @fedrickengels686
      @fedrickengels686 3 หลายเดือนก่อน

      ai

  • @raginiroy9929
    @raginiroy9929 3 หลายเดือนก่อน

    You're the best for all those are beginners within the world of DSA. .....I tried to understand Linked list many times specially create () ,struct node *...but always remain confused ,your explaination made me understand with ease. ..I hated Linked list but now I got it all...Thanking you a lot miss jenny: ))....keep up the great work ,I love all your video lectures more than any offline lecturer ..Thanks again ;
    :))

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

    I agree that you feel proud to born in India. But we also feel that we are proud of that- excellent educator like you born In our country. Thank you, madam, you are great.

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

    I first listen to the concept and try on my own to code. And yeah it works! 😄 Such a good explanation Didi.
    Also consider my request making a playlist dedicated to 'Linux Kernel internals'. Not just concepts, but programs also. I see there's no solid work created for Kernel internals in TH-cam.
    Thank you!

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

    One of the best way to explain these all

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

    damn, You are good :) I was struggling through the link list many many times. thank you for the clearing. you are gorgeous and brainy :) regards from Sri Lanka!

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

    i attended class and did not understand about linked list then i have seen your videos and now m really good at it. thank you

  • @-AshwithaAlladi
    @-AshwithaAlladi 10 หลายเดือนก่อน +2

    No one will beat Jenny's mam explanation in the world 🎉🎉🎉❤❤ wow 👏 great explanation

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

    Mam you are my god you saved me whole night I'm holding my head while studying in textbook now in the morning I saw your video and understood so well

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

    I m regretful why I didn't came here before ....best way to explain, thnku ma'am 🙌

  • @RajKotecha-dc3yx
    @RajKotecha-dc3yx ปีที่แล้ว +1

    Tomorrow i have exam of data structure and i am just only watching your videos..i am perfectly learn and study your video that my 15+ experienced sir is not good explained as you..thank you so much😀
    Before data structure was very difficult but at least now data structure is like and very interesting..thanks again!

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

    Thank you ma'am for your excellent explanation. I'm following your all videos on DS and It is really helping me to clear my concept from scratch. Thank you again 😊

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

    I always wait for ur video u are my favourite

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

    Best way of explanation. I ❤️ the way. I have seen many teachers's video but no one can teach like this.

  • @SUBHAJITBAG-os6zg
    @SUBHAJITBAG-os6zg 11 หลายเดือนก่อน +18

    0:00 Delete from beginning
    6:18 Delete from end
    16:15 Delete at position

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

    You are doing such a great work.I was confusing at every step but your explanation made me everything clear.Thankyou for your existence

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

    Tomorrow is my lab external exam i don't even know what is inked list by watching your video iam able write a code on different operations on linked list thank you man thank you so much !!

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

    thank you so much for understanding in easier way. our teacher tells in a way that she only doesnt understand .

    • @cat-codes1on1
      @cat-codes1on1 2 ปีที่แล้ว

      bro kaha placement hua

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

      @@cat-codes1on1 how do u know that I got placed ??

    • @cat-codes1on1
      @cat-codes1on1 2 ปีที่แล้ว

      @@sushanthraju3215 bro 2 yrs ago u commented on this video...so i guessed ki placement ho hi gya hoga...btw konsi company me hua

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

    Crystal clear explanation mam 💝💝 thanks a lot ...hats off to your hardwork ..👏👏✨💝😍

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

    mam you are of of the best teacher , the way you explain , no one can
    thank you so much.

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

    Unable to stop commenting this video excellent explaining keep it up thanks for the upload😍😍

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

    Mam, The effort you put makes your class wonderful.. will you please say whether this code is correct for deleting a node from a particular position.
    while(inext;
    i++;
    }
    prevnode->next=temp->next;
    free(temp);

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

    i have bought a course from codingblocks but still i learn from your channel.
    Firstly because aap bohot acha padhte hain.
    Second of all man laga rehta hai.

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

    JazakAllah bhut Acha smjahati hai

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

    You are one of the best teacher mam!
    I request u to upload java coding also

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

    Mam....hatsoff to u mam🤗🤗🤗🤗it's better to spend a week with ur lectures rather than attending college lectures....neat and clear explanation...great effect mam

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

    Mam really ur lecture is awesome...
    Thanku so🤗🤗 much to provide such a costly lecture at free....

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

      I added all this DSA lecture in my college curriculum.. Task..

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

    Simplicity is elegance
    ~thank you ma'am

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

    very helpfull , only your explanation make complex form easy. thank you

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

    Your teaching is very helpfuul for me.Your teaching is very nice ma'am.

  • @AM-xu6sd
    @AM-xu6sd ปีที่แล้ว

    Mam, when I saw data structure, I was think8ng why I took MCA course, but thanks a lot to save me.😌😌😌😌

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

    As usual your contents are superb. #JustRandom Love the way you say "Nowww"

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

    Not me watching ur vedios instead of studying😂 thank u so much it cleared all my doubts, by the way my exams start after 3 days .. 😅

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

    You are so great finaally i cleared my concept in linked list

  • @FarhanAli-km5id
    @FarhanAli-km5id 3 ปีที่แล้ว +1

    I have a problem to understand linked lists , suddenly search in you tube and I watched your only one video and I become fan of your methology. Thanks for serving us.
    Outstanding mam, best wishes from me.
    FARHAN...

  • @Shivani-vg6lp
    @Shivani-vg6lp 4 ปีที่แล้ว +1

    Thanks, you are teaching in very nice way.☺️

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

    Here is the complete code: #include
    #include
    #include
    //
    struct node {
    int data;
    struct node *next;
    };
    struct node *head = NULL, *newnode, *temp;
    int length = 0;
    void display() {

    printf("
    Values of this Singly Linked List: ");
    temp = head;
    while (temp != NULL) {
    printf(" %d\t", temp->data);
    temp = temp->next;
    }
    }
    void create(){

    int choice1 = 1;

    while(choice1){

    newnode = (struct node*)malloc(sizeof(struct node));

    printf(" Enter data: ");
    scanf("%d",&newnode->data);

    newnode->next=0;

    if(head==0){
    head = temp = newnode;
    }
    else{
    temp->next=newnode;
    temp=newnode;
    }

    length++;

    printf("Do you want to continue(0,1)?");
    scanf(" %d",&choice1);
    }
    }
    void Delete_From_Beg(){
    if (head == 0){ // if the list is empty
    printf("List is Empty");
    }
    else if(head->next == 0){ // if only one node
    temp = head;
    head = 0;
    free(temp);
    }
    else{
    temp = head;
    head = head->next;
    free(temp);
    }

    printf("
    Updated singly linked list: ");
    display(); // calling display() to show the updated linked list
    }
    void Delete_From_End(){
    struct node* prevnode;

    if (head == NULL) { // if the list is empty
    printf("List is Empty");
    return;
    }
    else if (head->next == NULL) { // if only one node
    temp = head;
    head = NULL;
    free(temp);
    }
    else {
    temp = head;
    while (temp->next != NULL) {
    prevnode = temp;
    temp = temp->next;
    }
    prevnode->next = NULL;
    free(temp);
    }

    printf("
    Updated singly linked list: ");
    display();
    }
    void Delete_From_Position(){

    struct node* nextnode;

    int pos;
    int i = 1;

    printf("Enter Position: ");
    scanf("%d",&pos);

    if(pos > length || pos < 1) {

    printf("Invalid Position");

    } else if(pos == 1){

    Delete_From_Beg();
    } else {
    // Special case for deleting second node
    if (pos == 2) {
    nextnode = head->next;
    free(head);
    head = nextnode;
    } else {
    temp = head;
    while (i < pos-1) {
    temp = temp->next;
    i++;
    }
    nextnode = temp->next;
    temp->next = nextnode->next;
    free(nextnode);
    }
    }
    printf("
    Updated singly linked list: ");
    display();
    }
    int main(){
    create();
    int choice = 1;

    display();

    printf("

    Press 1 to delete node a from the beginning, 2 to delete a node from the end, and 3 to delete a node from a given position: ");
    scanf(" %d",&choice);

    switch (choice) {
    case 1:
    Delete_From_Beg();
    break;

    case 2:

    Delete_From_End();
    break;

    case 3:

    Delete_From_Position();
    break;

    default:
    printf("
    Error! The input is not valid");

    }

    getch();
    return 0;
    }

  • @purtidesai445
    @purtidesai445 9 หลายเดือนก่อน

    Brilliantly explained. I just wonder how does the free() method work, rest everything explained in the video is super clear! Thank you so much!!

  • @ShivamKumar-pg4qz
    @ShivamKumar-pg4qz 5 ปีที่แล้ว +3

    great explanation mam.......cutest teacher ever

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

    mam your videos helped me a lot in learning concepts of DSA .

  • @justcurious1940
    @justcurious1940 10 หลายเดือนก่อน +3

    // creating a linked list and deleting nodes from it full implementation
    // All rights reserved to Just Curious 😊
    struct node {
    int data;
    struct node *next;
    };
    struct node *head = NULL,*new_node,*last_node,*prev_node,*temp; // last node is to keep track of the last node so we can link it to a new node
    void create (){
    new_node = malloc(sizeof(struct node));
    printf("Enter the data for the node : ");
    scanf("%d",&new_node->data);
    new_node->next = NULL;
    if (head == NULL){
    head = last_node = new_node;
    }
    else {
    last_node->next = new_node;
    last_node = new_node;
    }
    }
    void delete_from_beginning(){
    temp = head;
    if(head != NULL) {
    head = head->next;
    free(temp);
    }
    }
    void delete_from_end(){
    temp = head;
    prev_node = NULL;
    if(head != NULL){
    while(temp->next!=NULL){
    prev_node = temp;
    temp = temp->next;
    }
    }
    if(prev_node != NULL){
    prev_node->next = NULL;
    }
    free(temp);
    }
    void delete_from_position(){
    int pos;
    printf("Please enter the position : ");
    scanf("%d",&pos);
    if(pos == 1) {
    delete_from_beginning();
    return;
    }
    int counter = 0;
    temp = head;
    while(temp != NULL){
    ++counter;
    temp= temp->next;
    }
    if(pos counter){
    printf("Error we can't delete this node !!
    ");
    return;
    }
    temp = head;
    prev_node = NULL;
    int i = 1;
    while(inext;
    ++i;
    }
    prev_node->next = temp->next;
    free(temp);
    }
    void display(){
    temp = head;
    while(temp != NULL){
    printf("%d\t",temp->data);
    temp = temp->next;
    }
    }
    int main () {
    int size;
    printf("Enter the size of the linked list to start with : ");
    scanf("%d",&size);
    for(int i = 0 ; i < size ; i++){
    create();
    }
    display();
    printf("
    ");
    int choice = true ;
    while(choice && head) {
    printf("Choose 1 of these operations to be done to the linked list :
    " \
    "press 1 : to delete from the beginning.
    " \
    "press 2 : to delete from the end.
    " \
    "press 3 : to delete from a specific position.
    " \
    "press 0 : to exit.
    ");
    scanf("%d",&choice);
    switch(choice){
    case 1 : delete_from_beginning(), display() , printf("
    ");
    break;
    case 2 : delete_from_end(), display() , printf("
    ");
    break;
    case 3 : delete_from_position(), display() , printf("
    ");
    break;
    default : printf("Good buy!!
    ");
    }
    }
    return 0;
    }

  • @user-xp2pj7pv9i
    @user-xp2pj7pv9i ปีที่แล้ว

    Display light came in 5minutes as the video was playing well addressed thank you ma'am ❤

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

    From ur video I have learnt how to make a code by myself🔥.

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

    Thanks madam. This is the best explanation I have ever hear. Thanks a lot...........

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

    Tq so much mam because of u I am learning data structure easily and interestingly hatts off to you mam

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

    Clear explanation madam .... thank you so much 👌

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

    Very helpful video,thank you ma'am.

  • @NagarajuGampa-nc3wd
    @NagarajuGampa-nc3wd หลายเดือนก่อน

    In your explanation use telugu also. Yours explanation is very super

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

    I also shocked when u said "happy independence day" because I am watching it on 15 Aug.

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

    Ma'am your explanation is very very to me, thanks a lot

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

    Best teacher ever love from Bangladesh.

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

    good video , you teaching very well.

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

    Greetings from Nigeria, ma'am.
    I implemented the delete_start/delete_end function and they both work fine separately but anytime I run them together, I get an infinite loop.

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

    Thanks!...This video has helped me...

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

    Best Teacher 🌟

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

    Extra-ordinary explanation mam
    Very useful for exams

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

    Your teachings are great mam ! I guess we can also do it with just, head and temp, the del from last one by changing a lil bit fron the function created if we assume that we haven't deleted the first node ... 🙂

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

    Thank you ma'am for your support

  • @user-xy4rw3wf4z
    @user-xy4rw3wf4z ปีที่แล้ว

    Its Very clear to understand.....❤❤❤

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

    This is a very clear explanation, when ever I need a recall , I refer this content, great work mam

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

    Mam ur way of explanation is awesome and also please upload the video how to search and display in linked list once I am thanking u from my bottom of my heart

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

    In delete from any position
    temp=head;i=1;
    then condition is
    while(i

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

    Wow nice explanation for c programming
    Can u give explanation for c++?
    And i must say one best beautiful youtuber

  • @VarshaHegde
    @VarshaHegde 6 หลายเดือนก่อน +2

    while deleting from specific position we are using (pos-1),but while inserting a node at specific position u have used (pos).why is that?

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

    Please try to enable playback speed option for your video.
    It will be very helpful.

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

    Clarity -> You ❤️

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

    I would like to say you are the best ........

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

    Thank You Ma'am, very clear explanation !!!

  • @KhushbooKumari-iy2to
    @KhushbooKumari-iy2to 4 ปีที่แล้ว +1

    Thanks a lot mam......😊
    well explained......

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

    Please make a video for Fibonacci search with examples, algorithm as soon as possible .

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

    Thanks a lot mam , your explanations are awesome.

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

    *very useful and informative to me

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

    Make more videos to teach us easily

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

    Waise samjhate achhi tarah se hai usme koi dikkat nahi

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

    Very well explained hats off to you

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

    explanation and logic implementation excellent mam

  • @SumanKumari-gl5hq
    @SumanKumari-gl5hq 22 วันที่ผ่านมา

    today is also 15 august and i am watching this lecture

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

    We can use for loop for deletion from end and also calculate length of linked list . And then loop it till n-1 and we can empty it

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

    i love ur class

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

    Mam you so Buetifull ❤❤❤❤🤩

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

    What amazing lecture❤️

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

    Thanks a lot mam, It really helps.

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

    Hey deletion from given position can also be done in different way
    Same like deleting at the end.....
    If we have given delete a given node from list inplce of position than.
    We can traverse it. Than when the data is equal to given data.
    We can store Temp of next on a new pointer say nxt.
    And we can save the previous pointer on pre. Than
    We can simply say pre of next = nxt of next 👍👍👍👍
    Just we required a extra pointer here i.e 3 rd pointer

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

    TQ u mam...make many videos ..it is well understand

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

    I love u r teaching

  • @saiishwarya812
    @saiishwarya812 3 หลายเดือนก่อน

    i have a doubt that
    for deleting at specific location
    can we write this
    is this correct
    {
    temp=head;
    while(inext;
    i++;
    }
    prev->next=temp->next;
    free(temp);
    }

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

    I easily understand ..... Thank you for explaining.... Keep going 👍👍💯

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

    Now I better understand the linked list

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

    So cute lecturing methods tnx lot

  • @FarhanAli-km5id
    @FarhanAli-km5id 3 ปีที่แล้ว +1

    Amazing mam..👏👏

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

    Very helpfull great work Mam

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

    Thank you ma'am for this lecture