Palindrome Linked List ✅| Check if Linked List is Palindrome | LinkedList Data structure & Algorithm

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

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

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

    Literally Best ever content and motivation for solving problems because at the end your hand should know how to code it and your mind should see how to approach it (like you say chamakna jaruri hai ) Patterns Recognising is very very important. Hats off to you :)😇

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

    I was thinking to give up..then I came across this channel....thanks a lot bhai.lots of love :)

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

    Literally bhaiya you explain very nicely💕

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

    *Bhai you are really underrated but your content is great and awesome* 😎😁💙

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

    You make everything look easy.. i like your content. Thank you so much❤
    Tbh ,I started to feel confident about Linked list concepts. 😍

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

    Bhaiya aapka wala naive approach toh bada pyara approach tha

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

    you are the best..........masum

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

    Thanks Bro. Amazing Explanation😃

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

    what about the link part of the last node of first half of the list (in case of odd elements), where it will be pointing ?

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

    Temp barabar Head ..only bihari can feel this❤

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

    Thank you brother❤

  • @M.m554
    @M.m554 ปีที่แล้ว

    Sir projects pe video layie in java...
    It would be helpful

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

    Bhyya array and strings ka playlist daldo acche se

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

    Great video

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

    bhaiya you are doing great job

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

      Thanks Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

  • @RohitKumar-cv7qb
    @RohitKumar-cv7qb ปีที่แล้ว

    Done in 5 min using vectors, but in o(1)............ ; )

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

    Great Vid!

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

      Please, share this channel in your college, groups, or LinkedIn bcoz it's cost nothing to you 😀

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

    This was asked in my Nvidia interview.

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

    Very well explained brother ..keep up with your good job🫂

  • @ArunSingh-vq6wg
    @ArunSingh-vq6wg 11 หลายเดือนก่อน

    mention time comlexity also.

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

    sir naive approach me for loop me i++ aayega na

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

      check this by applying i++ and try to run

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

      i++hi aana chahiye

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

    Hey brother, I'm an QA automation Engineer in a Service Based Organization , And I don't have much knowledge on development tools and Technologies, But I love to coding and solving problems, So i want to get into a Product Based Company , What should be my approach? Can you please tell me that whether I should learn some Development related Tools and techologies or only focus on DSA?

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

      try to more focus on DSA and some little little times in Development
      Okay trust me and just start from my Playlist one by one
      1. Hashing
      2. Tree
      3. Graph
      4. Stack and Queue
      5. Heap
      Do whatever I said in the video and follow every instruction strictly.
      Each of my videos is based on one Question just try and learn from my videos and after completion of each Data structure just ping me over LinkedIn or TH-cam comment section
      and jo v videos dekhte ho, put comments on that video so that I can also track your progress

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

    Nice vid :)

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

    Hare Algorithm name of slow and fast pointer in Linked list 💪

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

    bhaiya hmko na reverse wale part me problem hota he kie thik kre usko

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

    Bhaiya main ek naive approach lagaya tha but jaise 10 se multiply karne ki wjah se yeh Runtime error de diya
    toh signed integer overflow ho gya.
    bool isPalindrome(ListNode* head) {
    if(head==NULL || head->next==NULL){
    return true;
    }
    ListNode* temp = head;
    int n = 0;
    while(temp!=NULL){
    n = n*10+temp->val;
    temp = temp->next;
    }
    int a = n;
    int b =0;
    while(n>0){
    int remainder = n%10;
    b=b*10+remainder;
    n=n/10;
    }
    if(a==b){
    return true;
    }
    else{
    return false;
    }
    }