counting number of nodes in a single linked list

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

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

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

    thank you sir.. helped alot..

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

      Hai Rohan pk, plz go through my playlists once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

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

    Simple explanation... good

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

      Hai Mahendra Jaagalamarri, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

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

    Well explained sir

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

      Hai Vikram Rajput, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

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

    Brilliant

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

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

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

    Sir agar doubly hua toh..

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

      Same code

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

      Hai Nikhil, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

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

    #include
    #include
    struct node {
    int data;
    struct node *link;
    };
    int main() {
    temp = head;
    count = 0;
    while( temp != NULL)
    count = count + 1;
    temp = temp->next;
    }
    printf(“no. of nodes %d”, count);
    return 0;
    }

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

      Good. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..