CIRCULAR LINKED LIST (CREATE AND DISPLAY) - DATA STRUCTURES

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 67

  • @RisingIndiabyRSK
    @RisingIndiabyRSK 5 лет назад +14

    Sir aap bhut hi acha explain krte hai.those person how like the way of explanation plz press one thumb here👍

  • @inzamamulhaque9198
    @inzamamulhaque9198 4 года назад +6

    Sir you have explained Data structure from all others in you tube . Keep up the good work!!!
    Thank you.

  • @vishalchandrabanshi3034
    @vishalchandrabanshi3034 4 года назад +4

    Your way of teaching is totally understoodable

  • @shwetajha6700
    @shwetajha6700 5 лет назад +7

    Happy teacher's dayy uh r a life saviour for us

  • @Sciencewithprerna
    @Sciencewithprerna 4 года назад +2

    Very helpful video sir...You teach us very well...❤❤Blessed to have a teacher like you...You made my subjects very easy because I can easily learn from your tutorials...Thanks a lot sir ...🙏🙏🙏Keep making videos regularly for us...😃😃😃😊😊😊😊😊😊😊😊😊😊😊

  • @saijyothi4687
    @saijyothi4687 5 лет назад +11

    Sir ,please do upload videos of tress and graphs..

  • @jyotshnabindhani1786
    @jyotshnabindhani1786 5 лет назад +2

    Thanks so much sir,, your teaching is so helpful to me and I can able to understand easily the data structure topic, u r great sir ,,

  • @sabusabu8274
    @sabusabu8274 3 года назад

    ur way of teaching is really best among all 😯sir👌👌👈

  • @vamshi-534-aboini8
    @vamshi-534-aboini8 4 года назад

    Tq u sir..... Way of xplanation is perfect... Easy to understand.

  • @adarshsingh-lb3ws
    @adarshsingh-lb3ws 5 лет назад

    Sir I love d way teach....thanx for d help.....hope ur channel will get million of subscribers.....thank u sir

  • @abhinavsharma4790
    @abhinavsharma4790 4 года назад +1

    sir firstly thankyou for explaining such wonderfully. secondly, sir while(ch=='N") hona chahiye according to code.

  • @sathya1657
    @sathya1657 4 года назад +1

    Clear cut explanation!!thank you so much sir🙏

  • @beluga8030
    @beluga8030 3 года назад +1

    love ur explanation. THANK U SIR

  • @shashankreddy3538
    @shashankreddy3538 3 года назад

    Sir ur classes are veryusefull

  • @harshjain8764
    @harshjain8764 5 лет назад

    sir first time I am finding data structure very easy .

  • @durgasreechowdhary9159
    @durgasreechowdhary9159 3 года назад

    Nice explanation sir..thank u and all the best..!👏

  • @rajvishwakarma5672
    @rajvishwakarma5672 2 года назад +2

    sir please continue DSA in python series.It's a humble request to you.

  • @somyabansal7881
    @somyabansal7881 3 года назад

    U r great sir.... Thanks for all the lessons

  • @rodneyowusu9876
    @rodneyowusu9876 4 года назад

    You are the best Sir . Thank You 🙏

  • @haujoan9311
    @haujoan9311 4 года назад

    Thank you so much. Very clear explaination given

  • @nikhilKumar-ui8bs
    @nikhilKumar-ui8bs 4 года назад +2

    Sir i never studied any programming subject ,so i want to know that u are written a small program in right corner ,will be use in every program .in starting

  • @sahilparasher722
    @sahilparasher722 5 лет назад +3

    Nice explanation sir

    • @sundeepsaradhi
      @sundeepsaradhi  5 лет назад +1

      Hi
      Thank you for your support towards our channel share our channel with your friends and keep following our channel.

    • @sahilparasher722
      @sahilparasher722 5 лет назад +1

      @@sundeepsaradhi ok sir

  • @509nandini7
    @509nandini7 2 года назад +1

    Sir can we write this program in lab external xam

  • @GSP-vd9yr
    @GSP-vd9yr 5 лет назад +1

    Superb explanation sir

    • @sundeepsaradhi
      @sundeepsaradhi  5 лет назад

      Hi
      Thank you for your support towards our channel share our channel with your friends and keep following our channel.

  • @manikandan2890
    @manikandan2890 4 года назад

    Awesome explanation

  • @shilpamathpati902
    @shilpamathpati902 Год назад

    If it is a single node then will it be circular or not ? U kept it as a normal node

  • @pankajshukla7123
    @pankajshukla7123 5 лет назад

    Very well explained

  • @manasa7522
    @manasa7522 4 года назад +1

    Pls clarify my doubt.....I'm really getting confused....while equating one term to other.....like head=temp.....and....temp=head.....please let me know techique to move in a processed way

    • @adityahegde9617
      @adityahegde9617 3 года назад

      I think you will understand better if you go and have a look at singly linked list properly i am sure you will understand

  • @generalvideonanba590
    @generalvideonanba590 2 года назад

    1000th like ❤️

  • @srigangadharreddy9969
    @srigangadharreddy9969 Год назад

    Sir circular Linked list means head value want to print again at the last know sir

  • @suneelkandula7056
    @suneelkandula7056 4 года назад +1

    sir plz show compilation of program in pc

  • @abdulsheik1928
    @abdulsheik1928 Год назад +1

    Sir! Please execute one program on laptop

  • @viralyoutubeshorts232
    @viralyoutubeshorts232 4 года назад +1

    sir,please give the complete code for linked list

  • @brindhajai8625
    @brindhajai8625 2 года назад

    Sir need circular linked list concepts in python as wel as stack and queue

  • @abhigyansharma9108
    @abhigyansharma9108 4 года назад +1

    bssttt

  • @chandragirinaresh1240
    @chandragirinaresh1240 3 года назад

    ❤❤❤❤❤❤

  • @shri.debnath7712
    @shri.debnath7712 3 года назад

    thanks...sir

  • @ankitavishwakarma9378
    @ankitavishwakarma9378 3 года назад

    Sir plzz make the video traversing and serching circuler doubly linked list

  • @animeshkoley6478
    @animeshkoley6478 3 года назад

    Sir while displaying circular linked list inside while loop we can also write temp!=NULL.

    • @harshithl651
      @harshithl651 3 года назад

      it cant be as its a circular list

  • @harshjain8764
    @harshjain8764 5 лет назад

    sir how head is null at starting , it is pointer variable and it will hold some address(some garbage value) when it is declared so how we are checking head==NULL

    • @tannerbarcelos6880
      @tannerbarcelos6880 5 лет назад +1

      the pointer is only there to point to the location where a node exists. If that pointer is not pointing to anything, it will be null. It is a Node pointer (struct pointer) and therefore, if no nodes were instantiated and placed in heap, then head obviously cannot be assigned to anything either.

  • @_C_CS_VivekKv
    @_C_CS_VivekKv 3 года назад

    What is that in ur T shirt sir?

  • @rakeshdebata5060
    @rakeshdebata5060 4 года назад

    Thanku sir

  • @ajaykumar-yk7to
    @ajaykumar-yk7to 3 года назад

    Sir what is the head and tail for only 1 single node some confusion is theere😇😇

    • @sruthisukumar7609
      @sruthisukumar7609 3 года назад

      If one node is there that first is considered as head and tail

  • @Priyanka-oc1lk
    @Priyanka-oc1lk 5 лет назад +3

    In if , if(head->next==NULL) should be written instead of if(head==NULL)

    • @sundeepsaradhi
      @sundeepsaradhi  5 лет назад

      Hi
      Anything can be written no problem as head points to the address of node.

    • @Priyanka-oc1lk
      @Priyanka-oc1lk 5 лет назад

      @@sundeepsaradhi Ok sir

    • @viveknegi2419
      @viveknegi2419 5 лет назад +2

      @@Priyanka-oc1lk no it's not same head->next means adress part of head is null.head== null means adress of head is null.it is different.run code on compiler

  • @lovelydileep6522
    @lovelydileep6522 3 года назад

    Light will covering

  • @devenderkumar5459
    @devenderkumar5459 4 года назад

    while assigning the else condition i.e
    tail->next=new;
    we can also use
    head->next=new;
    as for the value 10 head n tail r same so can u use head instead of tail ?

    • @soumyakn16
      @soumyakn16 4 года назад +2

      head will be pointing to the 1st node,while tail will be used to traverse last node and establish the connection btw 1st node and last node..so he has taken tail-->next=new

  • @lovelydileep6522
    @lovelydileep6522 3 года назад

    Vedio is not clear sirrrr

  • @vishalvishwakarma7726
    @vishalvishwakarma7726 11 месяцев назад

    play this with 0.75 playback speed. for best result play with 0.65 and see what happens 🤣

  • @user-ry3uo1qh5n
    @user-ry3uo1qh5n 5 лет назад +1

    This is c++

  • @Rakibul_52
    @Rakibul_52 Год назад

    #include
    #include
    struct node{
    int data;
    struct node*next;
    }*head,*tail;
    void creation() {
    int n;
    printf("Enter the Size= ");
    scanf("%d", &n);
    int i = 1;
    while (i data = value;
    newnode->next = NULL;
    if (head == NULL) {
    head = newnode;
    tail = newnode;
    } else {
    tail->next = newnode;
    tail = newnode;
    tail->next=head;
    }
    i++;
    }
    }
    void insertAtfist(){
    int value;
    printf("Enter the value DO!you insert= ");
    scanf("%d",&value);
    struct node*newnode;
    newnode=(struct node*)malloc(sizeof(struct node));
    newnode->data=value;
    newnode->next=head;
    tail->next=newnode;
    head=newnode;
    }
    void insertAtlast(){
    int value;
    printf("Enter the value DO!you insert= ");
    scanf("%d",&value);
    struct node*newnode;
    newnode=(struct node*)malloc(sizeof(struct node));
    newnode->data=value;
    tail->next=newnode;
    newnode->next=head;
    tail=newnode;
    }
    void specific(){
    int n;
    int i=1;
    printf("Enter the position= ");
    scanf("%d",&n);
    struct node*ptr=head;
    while(inext;
    i++;
    }
    int value;
    printf("Enter the value= ");
    scanf("%d",&value);
    struct node*newnode;
    newnode=(struct node*)malloc(sizeof(struct node));
    newnode->data=value;
    newnode->next=ptr->next;
    ptr->next=newnode;
    }
    void deleteAtfirst(){
    struct node *temp;
    temp=head;
    head=head->next;
    tail->next=head;
    free(temp);
    }
    void delleteAtlast(){
    struct node*temp;
    temp=head;
    while(temp->next!=tail){
    temp=temp->next;
    }
    tail->next=NULL;
    temp->next=head;
    tail=temp;
    }
    void travase(){
    struct node *temp=head;
    while(temp->next!=head){
    printf("%d->",temp->data);
    temp=temp->next;
    }
    printf("%d->",temp->data);
    }
    void deleteSpecficPosition(){
    int n;
    int i=1;
    struct node*temp,*newnode;
    temp=head;
    printf("Enter the positon = ");
    scanf("%d",&n);
    while(inext;
    i++;
    }
    temp->next=temp->next->next;
    }
    int main(){
    creation();
    //insertAtfist();
    //insertAtlast();
    // specific();
    //travase();
    //deleteAtfirst();
    // delleteAtlast();
    //deleteSpecficPosition();

    travase();

    }
    As a newcomer, it's completely normal to encounter numerous errors during your initial attempt (sending love from Bangladesh). Making mistakes is an integral part of the learning process, and it's how we grow and improve. Embrace these challenges as opportunities for growth and don't hesitate to seek help or explore different approaches. Remember, everyone starts somewhere, and with practice, you'll gain confidence and proficiency in no time. Love and support from Bangladesh! 😊

  • @Viswajeet18
    @Viswajeet18 Год назад

    thanks sir

  • @shanmugakothapalli6293
    @shanmugakothapalli6293 4 года назад

    good explanation sir