2.4 Linked List Implementation in C/C++ | Creation and Display | DSA Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ส.ค. 2019
  • CORRECTION: @24:10 initialize choice variable with 1 by writing:
    int choice=1;
    In this video we will see implementation of basic operations like Create a Node in Linked List and traverse a Linked List.
    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/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    #linkedlist #datastructures #algorithms

ความคิดเห็น • 1.3K

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

    CORRECTION: @24:10 initialize choice variable with 1 by writing:
    int choice=1;

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

      long time no see

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

      @@kangmoabel still she is the best
      the way she teaches,, its unique & efficient enough..

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

      After loop which is one printed for creating list

    • @Mohammed.1471
      @Mohammed.1471 ปีที่แล้ว +6

      Mam can u please provide printed code ?....plzz

    • @SB_Roy_Vlogs
      @SB_Roy_Vlogs 11 หลายเดือนก่อน

      ​@@Mohammed.1471
      @SB_Roy_Vlogs
      #include
      #include
      #include
      struct node{
      int data;
      struct node *next;
      };
      int main(){
      struct node *head,*newnode,*temp;
      int choice=1;
      head=NULL;
      while(choice){
      newnode=(struct node*)malloc(sizeof(struct node));
      printf("Enter node:");
      scanf("%d",&newnode->data);
      newnode->next=NULL;
      if(head==NULL){
      head=newnode;
      temp=newnode;
      }
      else{
      temp->next=newnode;
      temp=newnode;
      }
      printf("Enter 1 for continue and 0 for exit:");
      scanf("%d",&choice);
      }
      temp=head;
      while(temp!=NULL){
      printf("%d->",temp->data);
      temp=temp->next;
      }
      printf("NULL");
      getch();
      return 0;
      }

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

    At this point, I dropped my college classes to watch your videos. I learn so fast with you, even though english is not my first language. A big thank you from Brazil!

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

    Her dedication should be really appreciated.Please do all algorithms then leetcode also. She will be a youtube education trainer star. Her videos are being viewed from all corners of the world. in short she is helping many students who lack proper lectures. Some people born to help and a bring change in world. She has long way to go.

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

      Please explain me what is the difference between head pointer and newnode pointer and why malloc is used for only newnode but not head

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

      @@badrip3237 the declaration "struct Node* head = NULL" reserves memory for the pointer variable 'head', it doesn't allocate memory for the 'node' structure itself at this point. the memory for the Node structure is dynamically allocated using the malloc.

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

    Thank you ma'am.
    The code taught by ma'am is :
    #include
    #include
    void main(){
    struct node{
    int data;
    struct node *next;
    };
    struct node *head;
    struct node *newnode;
    struct node *temp;
    head=NULL;
    int choice,count=0;
    while(choice)
    {
    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;}
    printf("Do you want to continue (0,1)?
    ");
    scanf("%d",&choice);
    }
    printf("--------------------------------
    ");
    temp=head;
    while(temp!=0)
    {
    printf("
    %d
    ",temp->data);
    temp=temp->next;
    count++;}
    {
    printf("
    Count=%d",count);}
    }

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

    I finally understood the concept of linked list.
    previously, I watched thousands of other youtubers, teaching the same thing and no body does it better than you .
    Thank you so much mam.....

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

    One of the best DS lectures i have ever seen on youtube. The tricky concept of linked list has been explained in such an interactive and crystal clear manner that i was able to think of the codes of other operations on singly linked list by end of video.
    This type of content deserves millions of views. Wish you get 1 Million + subs soon.
    Thanks for the awosome content.
    Respect from NIT Jalandhar

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

      Ma'am I have seen many videos of data structures but yours is best 💯thanks a lot for such a best explaination of the concept🙌👍

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

      Mam ne wakai accha tarike se samjhaya hai

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

      Your words are really true bro...

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

      @@pundlikpatil2380 bhai printf scanf ki jgh cout cin ka he to diff hai itna kuch nhi hai same he to hai bro

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

      Kitna paisa mila yeh sab likhne ke liye Bhai

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

    Because of you I am alive ... Can't understand a single concept in my clg but after your 30 mins lecture ... Its now clear and understandable ... Proper explanations and best tutorials in TH-cam for CS students ... Keep this amazing work up !!

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

    This is like exponential times better than my phd professor , glad to be learning from this !

  • @ayeshaqamar9224
    @ayeshaqamar9224 6 หลายเดือนก่อน +23

    Seriously she deserves Oscar in teaching profession ❤

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

    you explain so good, there is not a lot of QUALITY videos regarding linked list, you are among the few I have ever seen, you made me understand linked list (which I am doing in C now) and I managed to success my homework after trying it for a week without success, you are amazing, I want to thank you for that!

  • @RahulSingh-db3ge
    @RahulSingh-db3ge 4 ปีที่แล้ว +14

    One of the best teacher I have ever seen in my life who explained linked list in such an easy way.
    Thanks mam for uploading this video.

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

    Amazing, you didn't only explain the concept of linked lists well, you also taught how to think and construct the program along the way, adding the if else , while loops . Wish I had someone teach me concept like this 10 us back when I graduated I would have found greater joy and purpose in life with programming.

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

      GeeksforGeeks is organising mini course of DSA that you should not miss out.
      Why??
      1. Live QnA sessions, you can clear all doubts related to DSA. Any doubt from LinkedList to Graph.
      2. You will get practice problems after every Data structure to make you good at DSA and crystal clear concepts.
      3. After completion of course you will get certificate and can access course anytime.
      4. Its FREE!!! But only if you use the below code -
      GFGD4Y2JR
      Register here-
      practice.geeksforgeeks.org/courses/Workshop-DSA?loginMode=308

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

    Thank u so much Maam, the lecture was one of the effective and understanding DS lectures I had watched since now. I again Thank u for the effort you have taken for providing us this Wonderful Lecture.

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

    I was so tensed with linked list.Tried paid courses,even watch other so called 80 k+ subscriber's channels no one was better than you.u explain from heart not juzz for subscribers.hoping 4ur 1 Million+ n ahead!!!! Tysm ma'am

  • @prabhat2661
    @prabhat2661 10 หลายเดือนก่อน +8

    Jenny mam your teaching skills are way better than tier 1 2 3 college teachers really grateful to consume such valuable content for free hats of to your hard work and dedication towards Teaching, every engineers programming base is created from TH-cam .... :)

  • @roshangogu2670
    @roshangogu2670 ปีที่แล้ว +71

    Oh my, why can’t i understand anything 😢

    • @learnersacademybyhaya.345
      @learnersacademybyhaya.345 3 หลายเดือนก่อน +2

      Did you get then?
      Did you pass the course?

    • @DurgaSaathwikKolla
      @DurgaSaathwikKolla 3 หลายเดือนก่อน +1

      😂😂

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

      @@learnersacademybyhaya.345it's been 1 year 😲 , luckily I passed my exam(data structure), it was my 3rd sem subject and currently I am on my final sem(time files like a jet)

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

      @@learnersacademybyhaya.345 yeh, I passed luckily anyway🥹. It was one of my 3rd sem subject

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

      I am also😢😢😢😢

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

    Thank you 😊
    You have given new life to my understanding of the C program Link List.

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

    One of the best video on linked list. I tried to learn from different sources but coudn't understand. But after watching this video my concepts are completely clear. The concept has been explained in crystal clear manner. Thank you so much ma'am for this awesome video.

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

    Hello from the USA. Thank you for making these videos mam! I found your channel last spring as I was struggling to implement a linked list ds for a masters course. I found your channel and after watching this video everything clicked for me and I totally understood what I needed to do. I've since passed my course but I find myself still watching videos on your channel even though I don't need to for any course work bc I find your teaching style and white board approach to be so effective.

    • @user-ve8kw6eu7h
      @user-ve8kw6eu7h 8 หลายเดือนก่อน

      Sir ,in usa how is the scope of IT sector ? Is it has much scope?

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

    what a explanation, you just won my heart. I got this lecture after suffering a lot from linked list. Thank you so much MAM for providing such a wonderful lecture.

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

    You can't imagine how much you are helping some of us

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

    I had lots of confusion .. but now I understand everything about linked list...thank you so much Jenny mam..
    Students like us ..who do not understand concepts easily you teach us easily.😊

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

    This video is so wonderful that after watching it My linked list concepts are Crystal Clear. No one shows the malloc visualization part. You are such a great teacher. Thank you so so so much. Now I'm able to visualize all other problems of Linked List so easily

  • @AnmolKumar-ci7qz
    @AnmolKumar-ci7qz 4 ปีที่แล้ว +28

    Best lecture ever ma'am...u have explained every single point...

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

    Really mam the lecture was soo understanding, i was having soo much difficulty in implementation of link list but nothing helped me out.Your lecture was soo good and excellent that i have no doubts remained please continue to teach us like this mam.Really you're a fabolous teacher

  • @YasirKhan-bl8lj
    @YasirKhan-bl8lj 4 ปีที่แล้ว +2

    Jenny from the number of TH-cam videos on Link List in Data Structure topic you made it really simpler to understand what is actually being done with this complex concept of link list and i guess you really did a lot of hard work before delivering this lecture. Thank you very very much. I hope you will be uploading more useful videos of programming language especially of C++.

  • @Cloud-577
    @Cloud-577 3 ปีที่แล้ว +1

    finally i undrstand things! very well explained. I'm a self taught engineer so finding a youtube video that explains the concept, answers all the why questions, and all the little details is so rare.

  • @AmitYadav-hm4sz
    @AmitYadav-hm4sz 4 ปีที่แล้ว +9

    one of the best DS lectures i have ever seen on youtube....
    this type of lecture is not present on youtube..thanks mam

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

      Ma'am I have a doubt ,I have an error in if(head=newnode->next=0)
      It seems Id returned 1 exit status.

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

    You teach Link List completely in a very logical way and i hope you will never remove this taturail or never chang to payment site . thank you.... wish you the best .

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

      GeeksforGeeks is organising mini course of DSA that you should not miss out.
      Why??
      1. Live QnA sessions, you can clear all doubts related to DSA. Any doubt from LinkedList to Graph.
      2. You will get practice problems after every Data structure to make you good at DSA and crystal clear concepts.
      3. After completion of course you will get certificate and can access course anytime.
      4. Its FREE!!! But only if you use the below code -
      GFGD4Y2JR
      Register here-
      practice.geeksforgeeks.org/courses/Workshop-DSA?loginMode=308

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

    I have attended my normal lecture and also saw some other TH-cam videos but I never understood linked list implementation.
    But after seeing this video everything is crystal clear.
    Thanks a lot for such a great effort.

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

    Recently started following your channel.
    Good stuff on data structure and algorithms.
    Almost everything is covered and explained clearly.
    Being a non CS student it is difficult to understand DS but you have made it easy. Thank you.

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

    o....mother of algorithm...💚💛🧡
    i never seen such like explanation. ..only and only requist capture ever topic. .

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

    I thank you ma'am for your whole-hearted effort! Your explanation is clear enough to understand! 😊

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

    Thankful for such a brilliant teacher in youtube. One of the best Data Structure lecture one can find.

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

    Who the hell has said the one way communication can't work...🙄
    This is incredible mam thanku🥺🌝💗💗

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

    the value of the choice variable must be set to 1 for the initial entry into while loop, EXCELLENT LECTURE MAM !! A great tutorial that took me to the basics !!! happy_coding_geeks !!

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

    Just started understanding basics of linked list. Understood everything clearly. Ma'am, The way you taught the concepts was amazing. Teaching everything with the basic idea, even beginner like me can learn very quick. Thank you so much. Looking forward to watch more of your lectures :)

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

    I'm all serious and attentive throughout the video but your "take care and bye-bye" melts my heart.

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

      GeeksforGeeks is organising mini course of DSA that you should not miss out.
      Why??
      1. Live QnA sessions, you can clear all doubts related to DSA. Any doubt from LinkedList to Graph.
      2. You will get practice problems after every Data structure to make you good at DSA and crystal clear concepts.
      3. After completion of course you will get certificate and can access course anytime.
      4. Its FREE!!! But only if you use the below code -
      GFGD4Y2JR
      Register here-
      practice.geeksforgeeks.org/courses/Workshop-DSA?loginMode=308

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

    Miss, i have been trying to learn linked list for last 4/5 days.. And wasted 6/7 hours. But somehow i found your video and thought 30 mins will waste again.. But everything changed when you were explain.. You made it so clear and easy.. Thanx for the great video..

  • @great8736
    @great8736 7 หลายเดือนก่อน +3

    Thankyou mam i pass the data structure exam by watching your videos😊❤.its really very very helpfull to me

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

    Professor Jenny you are absolutely amazing, thank you so much for all your work, it's extremely helpful. I always watch your videos when I need to understand something, you are definitely the best!

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

    The best lecture I have attended so far on implementation of LL..crystal clear explanation.. thank you so much mam ❤️🙏

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

    Thanks mam for teaching in such an amazing way , keep giving your valuable knowledge 🤩🤩🤩🔥🔥🔥

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

    A big round of applause from Pakistan. Great work....
    But please do the same in Java coding. Thank you

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

    Mam I'm really thankful for you ❤️. I never thought that I would understand this topic but you made this really easy to understand. This society needs more teachers like you. Thank you for your amazing help mam💜

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

    I have gone through so many linked list implementation and explanation videos on TH-cam, but none of them helped me, if anything I got more confused. But this video literally saved me from failing my DS exam lol! Thank You so much!

  • @hetulmehta9960
    @hetulmehta9960 ปีที่แล้ว +28

    #include
    #include
    int main(){
    struct node{
    int data;
    struct node * next;
    };
    struct node *head, *newnode , *temp;
    head = 0;
    int choice = 1;
    while(choice){
    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;
    }
    printf("Do you want to continue (0 , 1)?");
    scanf("%d",&choice);
    }
    temp = head;
    while(temp != 0)
    {
    printf("%d",temp-> data);
    temp = temp -> next;
    }
    }

    • @shreeyapatel1391
      @shreeyapatel1391 10 หลายเดือนก่อน

      this helped a lot to me thank you

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

      So clean bro.

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

      hai kis chees ka

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

    ...been struggling with this for quite some time. Thank you for the help!

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

    Mam ke lectures padhne k baad subject me interest bhi padh jaata hai, jo koi bhi seekhna hahte hai aur achhe se seekh nahi paare bcoz of financial problems or unke clg me achhe se nahi padaya jaara, suno mam itna effort laga rahi hai jitna ho sake donation krdo guys, i know students ko mushkil hoti hai but trust me she's helping us alot more than we ever will so jitna ho sake utni help karo channel ki😄

  • @mirrors.of.reality
    @mirrors.of.reality 3 ปีที่แล้ว +1

    Thank you so much for your clear and detailed explanation. Helped me to better understand linked lists but also how pointers and dynamic memory allocation really work.

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

    Thank you teacher.
    after 4 days of wandering here and there , its all clear now .

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

    A big thanks to you ma'am,i was so frustrated on this topic but you clear all my confusion and make a clear cut concept, thanks you.❤️🤘

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

      GeeksforGeeks is organising mini course of DSA that you should not miss out.
      Why??
      1. Live QnA sessions, you can clear all doubts related to DSA. Any doubt from LinkedList to Graph.
      2. You will get practice problems after every Data structure to make you good at DSA and crystal clear concepts.
      3. After completion of course you will get certificate and can access course anytime.
      4. Its FREE!!! But only if you use the below code -
      GFGD4Y2JR
      Register here-
      practice.geeksforgeeks.org/courses/Workshop-DSA?loginMode=308

  • @Amandeepsingh-gh4ry
    @Amandeepsingh-gh4ry ปีที่แล้ว

    Your way of teaching is very awesome. I feel like I am sitting in a classroom and studying in person from you. Thanks a lot for clarifying the linked list in a very simple manner.

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

    Hands down the best video on youtube for this topic....great explanation!
    Guys please watch the whole video.

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

    Proper explanation!Amazing lecturer...Each and every point was explained briefly and she cleared almost all my doubts and confusions regarding link list within minutes.Thank you for this.😊

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

    Your videos are very helpful during this lockdown period.
    Thank You ❤

  • @anvithas_aesthetics
    @anvithas_aesthetics 10 หลายเดือนก่อน +1

    YOU HAVE NO IDEA HOW MUCH UR HELPING ME , DURING EXAMS . YOU'RE SAVIOUR

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

    Thank you, watched it about 3-4 times because i got confused when temp was introduced but when i started drawing the diagrams it made sense, thank you Jenny, you are so brilliant, how you know all these concepts is baffling in a good way, you are incredible.

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

    w o w she's smart, well-spoken and gorgeous?? My brain has officially broken!

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

    I would like to owe you my genuine respect from the core of my heart....a huge amount of respect from me....n fr my friends from Vellore institute of Technology....

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

    Jenny Mam, Your DSA tutorials are a pleasure to watch. You see, It's been 21 years (in my early 40s) since I completed Computer Engineering, and needed a resource to brush up on DSA. Didn't wish to read Cormen again :)
    Your simple style of teaching really helped me absorb faster.. Good wishes to you, Mam

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

    Amazing explanation, I was so confused about creating the linked list, but this video made everything clear. kudos.

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

    /*Creation and display of singly linked list*/
    #include
    #include
    #include
    void main()
    {
    struct node{
    int data;
    struct node *next;
    };
    struct node *head,*newnode,*temp;
    head=0;
    int choice;
    while(choice){
    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;
    }
    printf("do you want to continue");
    scanf("%d",&choice);
    }
    temp=head;
    while(temp!=0)
    {
    printf("%d",temp->data);
    temp=temp->next;
    }
    }

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

      this code will node work because you have to assign your choice=1 before while

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

    Thanks a lot madam. I was struggling with these for 1 week. I couldn't find any proper material or any lecture video or notes containing good explanations. But after seeing your lecture I am really feeling very comfortable with the topic. Thank you very much for such great explanation. 😊😊

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

      Bhai ye program run hua tha

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

    I Really thank you for your lectures and your Explanations, and the Love you show toward the Subjects.
    And that is helping a lot of people who are suffering with where to start and how to start.
    Lots of Love❤ from
    Telangana,
    Hyderabad.

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

    Thanks alot .. i m from different field ... it's bit difficult to do all at my own..but your videos are so soo helpful that boost me to learn more n more..u r truely an inspiration...
    Thanks alot once again...❤️❤️

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

    This video made Linked List finally look so so easy, that it made me say.. "Yaar yeh toh kitna easy hai!".. Awesome lecture ma'am! :D

  • @brr522
    @brr522 9 หลายเดือนก่อน +3

    This lecture is so good.. I can't thnk you enough for the lectures u provide.. solid lecture 💯💯

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

    Thank you very much ma. Its the way you spend time explaining each concept and not assume we know everything that makes me Lil your videos. Thanks to making C simple

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

    Really interesting and conceptual,
    Initially i used to feel ,to take computer as optional sub, is my worst decision but after knowing about your help, now I am feeling gallant and wishes your good day di.thanks so much....love you

  • @Crying_eyes
    @Crying_eyes 4 หลายเดือนก่อน +3

    I have to ignore mam in video to understand the topic
    Why she 's so beautifull❤

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

    Mam my cousin became your fan at first sight.He listens your lec by sitting with me even though he is not studying at all.

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

      🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣suma eru da

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

    mam you teach from the depth of heart....And this is the biggest reason of your constant energy and smile during all the lecture....."THANKS A LOT''

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

    I think the best lecture I've ever seen on youtube and how clearly defines node concept one by one.
    Love u mam😊.

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

    Ma'am its my 17th time of watching this video though I haven't understood this concept well but Dekhna Acha Lagta hai

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

    Awesome linked list tutorial thank you.
    It's my request, if you can make video on some higher competitive problems like baktracking,highest substring palindrome pls make
    Thanks🙏🙇

  • @ayushpandey2640
    @ayushpandey2640 17 วันที่ผ่านมา

    OMG what's a understanding level I thinks this type of teachers can clear all doubts of students thanks for this mam😊

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

    Thank u so much ...for making us understand the concept so clearly ....so that we are able to do program by our own❤️

  • @franciscorodriguez-zb8uq
    @franciscorodriguez-zb8uq 3 ปีที่แล้ว +7

    im still amazed on how good this whole playlist is... mam... thank you so much...

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

    no one can beat you in teaching DSA!!! You are simply the BEST!!!!!!!1

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

    this is wonderful lecture , got stuck for a week in it, now understood in a very good way. maam u r too cute , with same dedication and cuteness , teach us . thanks a lot maam .

  • @AbdulGhaffar-lw5vf
    @AbdulGhaffar-lw5vf 4 ปีที่แล้ว +12

    Thnk yu...
    BTW How yu said "fine" in last is funny nd cute.

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

    Ma’am I’m getting conflicting types for head, while declaring head=0

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

    I don't know how to thank you mam...I have watched several videos on linked list but not even a single video couldn't get into my brain and finally landed on your video...... Excellent teaching.. explained in organizable manner............ thanks a lot mam for ur effort!!!

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

    Thank you for this lesson but I guess your example is somehow complicated compared to the ones that I've watched on TH-cam but overall, it is a GREAT video though. I did not regret watching this and I would recommend this to my blockmates. I like complicated videos like this, it helps in expanding the knowledge capacity of a person. Because of this example, it aided me to successfully create a program like this. Would still watch this again and again.

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

    your tutorials is too helpfull , ma'am,
    i am happy to say that , i have seen my sister in you ,durnig the tutorial.
    i felt like , my sister is teaching me.
    so will you please be my didi?

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

    After watching 3 time i got to know little and i would like to pin point u that u should in main program.

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

      I watched first time but something is missing in my head...should watch once more

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

      same here bro......

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

    This the best explaination of linked list i can ever expect all my queries has been cleared within the video itself.. thanku very much mam....

  • @kushal4182
    @kushal4182 2 วันที่ผ่านมา

    Clearly explained each and every step . Now we know the use of all the variables in linked list .

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

    Even 1million likes are less for this lecture!!

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

    I can't run it with while(choice), I am using Do-while instead...is that correct way to approach?

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

      with do whille it will be executed once and the ask which doesn't affect anything in short it doesn't matter

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

      shuru mai bhi jab ham choice declare kar rhe hai tih bhi shayad choice ki value deni padegi like int choice=1;

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

      Can you please give me the full code?
      I am also struggling to run it

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

    Mam ur explanation is really appreciable .. one of the best DS teacher on TH-cam .My words are not enough to appreciate u

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

    best lecture i have founded just 6 hours before exam.keep up the good work mam.

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

    CODE :
    #include
    #include
    int main()
    {
    struct node{
    int data ;
    struct node*next;

    };
    int choice =1;
    struct node*head;
    struct node*temp;
    struct node*newNode;
    head=0;
    while(choice){
    newNode = (struct node*) malloc(sizeof(struct node));
    printf(" enter the data ");
    scanf("%d",&newNode->data);
    newNode->next=0;
    if (head==0)
    {
    head= temp=newNode;
    }
    else {
    temp->next=newNode ;
    temp= newNode;
    }
    printf ( " do u want to continue ( type 0 or 1)?
    ");
    fflush(stdin);
    scanf("%d",&choice);
    }
    temp= head;
    printf("items in linked list are:");
    while(temp!=0)
    {
    printf( " %d",temp->data);
    temp= temp->next;

    }
    return 0;
    }
    thank you mam

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

    can anyone show me the complete linked list program..in same way she is teaching..same variables,functions,and datatypes

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

      Veer Beniwal can you send me too, if someone sent you?

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

      #include
      #include
      int main()
      {
      struct node
      {
      int data;
      struct node *next;
      };
      typedef struct node NODE;
      int choice=1;
      NODE *head,*newnode,*temp;
      head=0;
      while(choice)
      {
      newnode=(NODE *)malloc(sizeof(NODE));
      printf("Enter data item
      ");
      scanf("%d",&newnode-> data);
      newnode->next=0;
      if(head==0)
      {
      head=temp=newnode;
      }
      else
      {
      temp->next=newnode;
      temp=newnode;
      }
      printf("Do you want to continue:(Type 0 or 1)?
      ");
      fflush(stdin);
      scanf("%d",&choice);
      }
      temp=head;
      printf("Linked list items: ");
      while(temp!=0)
      {
      printf("%d ",temp->data);
      temp=temp->next;
      }
      return 0;
      }

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

      @@aniketmishra8197 Correct, I was thinking that how will it go in while loop already but you have declared choice that is right and instead we can also use do while also , do while will also do right?

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

      bro i have an doubt, y we using NODE.

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

      @@fahimsharuk433 to avoid writing struct node.

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

    What to say ! How many videos have I seen before ,but none of them worked for me ... Thank you so much. Keep going 😊😊😊

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

    Perfect in teaching and perfect in showing every single point. I appreciate your effort my dear

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

    "2:20" best moment

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

    U r superb maam

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

    I have no words to appreciate this kind of explanation.. A full conceptual way to understand the implementation of *Linklist* .. Bs maza aa gya ☺ THANK YOU SO MUCH Ma'am ...