CIRCULAR LINKED LIST (INSERTION AT BEGINNING,ENDING,SPECIFIED POSITION ) - DATA STRUCTURES

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

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

  • @singwithlove5085
    @singwithlove5085 4 года назад +15

    Sir I might have visited almost every possible RUclips tutorial on CLL.... But none were as helpful and understandable as yours. I'm a lot thankful!!!

  • @gamingultimate7489
    @gamingultimate7489 4 года назад +5

    GOOD MORNING SIR , Your videos very nice and easy understand sir, every day i must see u videos your explanation is too good and your programming code easy to understand to others
    once again very nice sir
    i am your fan sir

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

    ir your explanation is too good...tq for uploading
    Linked lists is so easy now after seeing your videos..tq so much sir (FROM->BANGLADESH)

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

    Sir your explanation is too good...tq for uploading
    Linked lists is so easy now after seeing your videos..tq so much sir

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

    Jst osm sir, thanku for such efforts 🙏🙏, no video is as useful as yours

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

    Sir your teaching is really good you will make us really understand

  • @VijayPal-vx9es
    @VijayPal-vx9es 5 лет назад +2

    You are great sir 👍
    Your explanation is too easy to understand 😍😍
    Thanking you 😇

  • @smrutibisen399
    @smrutibisen399 2 месяца назад

    he's so much hardworking , thank you so much for such grat explaination

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

    God of programming!🙏

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

    Best explaination on RUclips
    But less views🙁

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

    Fantastic video
    Nice clear explanation Sir

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

    Really sir it just amazing, thank you soo much sir for this amazing video.

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

    your explanation method is good and understanding

  • @Atchyut.t45_Creator
    @Atchyut.t45_Creator 3 года назад

    Hello SIr,
    Thank you ......so much sir .....for providing this videos.

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

    Great sir it was an excellent session💗

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

    Nice lecture sir....this is really helpful..sir please upload more topics on data structures..tree, queues

  • @ajithkumara3048
    @ajithkumara3048 4 года назад +3

    Sir insertion in specific position of single linked list =insertion in specific position of circular linked list....bez ,both cases not change head or tail... correct r not...?

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

    Hats off 👏sir for all ur efforts.👌👌

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

    Very helpful video ❤

  • @rayhanrana6773
    @rayhanrana6773 5 лет назад +10

    Sir, your explanation is just stand out !!! one more thing i notice in your lecture you are sweating a lot. Isn't there any stuff to keep you cool. You put a lot of effort to create these videos under this circumstances.just hat off!!!

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

    🤩🤩🤩✨✨✨✨

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

    Your explanation is superb.....

  • @sweetykumari-op8jr
    @sweetykumari-op8jr 5 лет назад

    Awesome video sir🙏🙏

  • @RajPatel-is8em
    @RajPatel-is8em 5 лет назад +1

    Thank you very much sir.🙏🙏🙏

  • @raghavendra4955
    @raghavendra4955 5 лет назад +6

    Sir how did system know that head and tail are starting and ending nodes?

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

      Its inbuilt in complier...
      Hope it helped^_^

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

      by using header files it assigns

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

    Best explanation sir.Thank you sir.

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

    Hi.
    For insertion at the beginning, instead of
    tail->next=new;
    head=new;
    can we write
    head=new;
    tail->next=new;
    I have a similar question for insertion at the end also.

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

    You are great, sir!

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

    nice explanation sir thnkuu

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

    Wow wow wow wow wow sir best best best best

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

    I understood very much sir thank you sir

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

    Can i use tail in my final exam cause any one of my teacher haven't use tail before in any algorithm.

  • @Ajaysharma-ri9xi
    @Ajaysharma-ri9xi 4 года назад

    your explanation is very good sir, can u let me know the time complexity for all this three operations.

  • @Michelle-rb6nl
    @Michelle-rb6nl 5 лет назад +2

    THANKYOU!

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

    Nice lecture sir

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

    sir if we put pos=1 but the answer is not coming sir so plz tell the logic behind it sir

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

    Sir either we don't have any head and tail then how we do that sir !!!

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

    Nice explanation Sir

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

      Sir how to traverse the tail pointer to the end of the list

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

      @@abhijeetgorai242 yes your traverse the both head and tail also

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

    just nailed it

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

    ❤❤❤❤

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

    insertion at end can i write
    new->data=value
    new->next=tail
    tail->next=new
    tail=new

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

    Sir it consist of single and double know

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

    great sir

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

    sir ,when im trying to display the list its printing a number in an infinite loop,not printing the list...what have i done wrong can you plse tell me

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

      For()
      {
      temp=temp->next
      }
      Then new->data=value;
      ......

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

    Sir please sir c++ me poora ka poora code kese likenge aesi video bna do please sir🙏🙏mujhe code likhne me bhot dikkat hoti h sir c++ me....please sir provide me the videos of how to write code for these linked list in c++ code🙏🙏

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

    😍

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

    Sir can you explain the ADT of this circular linked list

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

    super sir

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

    Sir please explain circular queue implementation by using dynamic arrays

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

    Sir plz share a video of double circular linked list

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

    I WANT A HELP FROM U
    I WROTE A C PROGRAM FOR SINGLY LINKED LIST BUT THE WHEN THE DELETE BLCCK UNDER THE SWITCH STATEMENT EXECUTED THEN WHOLE PROCESS IS EXITED
    PLEEASE SEND ME YOUR MAIN THEN I SENT THE CODE TO U

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

    This is using java or c?

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

    what is the differance between circular and singly linked list

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

      The difference between sll and dll on the basis of traversal is that in sll we can only traverse in forward direction whereas in dll we can traverse in both forward and backward direction.

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

    sir how to do without the names head and tail...

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

      hi
      sorry didnt get you

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

      @@sundeepsaradhi hi sir, u told head pointing to first and tail to the last. But how to do by taking only one pointer like struct node **p.

  • @315bhanubilla5
    @315bhanubilla5 4 года назад

    Sir can u please explain programs for labs

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

    what if we insert in position=1;what will be the output

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

    Kya yaar sir

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

    Sir why this loop

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

      Which loop are you talking about?

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

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

    Sir please execute the same program........

  • @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! 😊