5.14 Palindrome or not Java Tutorial

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

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

  • @mdshoeb533
    @mdshoeb533 Год назад +15

    Watching this in 2023 , that was a fabulous explanation man !
    Thanks 👍

  • @ShubhamKumar-sr2si
    @ShubhamKumar-sr2si 3 года назад +10

    Watching it in October of 2021, Yet no one has ever made it so clear to us Sir.
    Thank You ❤

  • @ehabelsaid2595
    @ehabelsaid2595 9 лет назад +50

    Am wondering how a wonderful tutorial as this does not have much views as other instructors or even much more , in my opinion you are the best around on youtube and I will recommend this tutorial to anyone who wants to learn java .

    • @NavinReddyJava
      @NavinReddyJava 9 лет назад +2

      +Ehab Elsaid Thank u :)

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

      I guess Im kinda randomly asking but does anybody know a good site to stream newly released series online ?

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

    And look I am still using your tutorials in 2019. Thanks for amazing lessons.

  • @mohdshadab05
    @mohdshadab05 7 лет назад +13

    is video me 2 concept clear hogaye
    1st- How to reverse numbers.
    2nd- Palindrome or not
    thank you so much sir
    please meetup ke baare me sochiye i really want to meet you.

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

    Been struggling for days trying to get my head around this and after copious java tutorials, I found yours. You've broken it down perfectly for me. Thank you 🙏

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

    Sir , you are one of the " BEST " teacher in the world !
    thank you very much Sir.
    We appreciate your efforts !

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

    The only video of yours that went above my head

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

    I'm surprised that how a 2014 video is helping me to prepare for my ISC boards in 2021, amazingly explained.

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

    You're such a wonderful teacher sir. Not everyone can explain the logic so perfectly the way you are doing. I am so grateful for all your lessons. Thank you.

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

    just a quick note, the code has a bug, and it's better to say while(number != 0), what a great explanation, THE BEST. thank you

  • @utsavbasantmani1711
    @utsavbasantmani1711 8 лет назад +2

    ONE OF THE BEST U R MIND BLOWING I NEVER UNDERSTOOD THE CONCEPT OF PALINDROME BUT AFTER WATCHING TO YOUR VIDEO I UNDERSTAND THANK U SO MUCH :)

  • @samarthk.s9765
    @samarthk.s9765 6 лет назад +1

    You are one of the best java teacher i have ever seen.Such a tough concept you just explain in ease.Even my school teacher wont teach like you.Thank you for teaching me this.

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

    2022 I am using this Playlist... Thanks a lot 🔥🔥

  • @SmartProgramming
    @SmartProgramming 6 лет назад +1

    nice concept sir, good explanation, keep it up 👍👍

  • @arivusolai271
    @arivusolai271 8 лет назад +1

    now iam cleared the many concepts.Thank you sir..Your teaching is really Gud.

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

    Your lectures are best, way of explanation is awesome

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

    i want to print the palindrome number from the user whether it is not a palindrome number convert it until it is a palindrome and print that nimber.
    i/o:123 if we reverse this number 321 and add the first input number to this (123+321=444)
    ex2:195 its palindrome is 9339 i need the program for this problem

  • @Tollywood_Treasures_Telugu
    @Tollywood_Treasures_Telugu 8 лет назад

    broo ur awsumm..love ur teaching..chala telsukunna me nunchi...

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

    very useful to learn for the beginners and your teaching concept is soo good to understand hats off sir.

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

    //palindrome using forloop
    class Palindrome{
    public static void main(String[] args){
    int n=123,r,s=0;
    int t=n;
    for(int i=n;i>0;i=i/10){
    r=n%10;
    s=s*10+r;
    n=n/10;
    }
    if(t==n){
    System.out.println("palindrome");
    }
    else{
    System.out.println("not palindrome");
    }
    }
    }

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

    Awesome video. Understood everything. Thank you sir 😀

  • @ИтгэлсайханЭ
    @ИтгэлсайханЭ 2 года назад

    Wow, very clear and amazing explanation. Thank you Mr.

  • @venkydamanaboina4718
    @venkydamanaboina4718 2 года назад +1

    Thank you soo much for the clear cut data sir

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

    Man you rocked it.
    I love your videos.

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

    Thanks a bunch . The best explanation ever❤

  • @maheshreddy4788
    @maheshreddy4788 8 лет назад +1

    nice videos..once we will watch this videos we will be expert on that topic..............Thank you sir....

  • @AbdulRehman-yo2qn
    @AbdulRehman-yo2qn 7 лет назад

    Amazingly explained. Thanks Navin

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

    Thank you Telusko. Your tutorial has been extremely helpful.

  • @naqiabedi
    @naqiabedi 9 лет назад +2

    navin you are a great tutor

  • @mjagan619
    @mjagan619 8 лет назад

    u r great sir in teaching java. Your tutorials are amazing

  • @shrinivasemekar3533
    @shrinivasemekar3533 3 года назад +2

    very well explained thank you so much

  • @mounimounika3800
    @mounimounika3800 9 лет назад

    the way teaching is excellent

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

    How write a palindrome code for two strings in java ?please any one explain me

  • @pemawangyal9231
    @pemawangyal9231 10 лет назад +1

    Navin should be selected as the best java tutor

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

    Wish I met you earlier on my college days :D
    Sir can u make how to reverse a string? thank you!

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

    What will be the code:
    If I want to print reverse number and the also wants to print it's palindrome or not???

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

    Sir..doubt sir...what if the number is 9780 ...in reversing the 0 will not get in front and output will be 879 instead we want 0879.. Kindly clarify my doubt sir

  • @rajulama9732
    @rajulama9732 9 лет назад +1

    you are awesome than my teacher

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

    Awesome explanation sir..hats off u

  • @allopez13
    @allopez13 9 лет назад

    You are master in Java!!!

  • @ashutoshkumarjha5188
    @ashutoshkumarjha5188 6 лет назад

    Sir I m satisfied by yr teaching n yes I understood the concept of palindrome....thnku so much

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

      Where is the program for palindrome sir

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

      @@madhavichukka1732 class First {
      public static void main(String nag[]) {
      int n = 121, r = 0, s = 0;
      int t = 0;
      while (n > 0) {
      r = r % 10;
      n = n / 10;
      s = s * 10 + r;
      }
      if (t == s) {
      System.out.println("palindrome");
      } else {
      System.out.println("not");
      }
      }
      }

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

    Hey Navin,
    But this code fails when input number is having 0's at end (i.e.14900)

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

    Best explanation

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

    Amazing logic and teaching

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

    God Bless You and all of us

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

    Tq sir ur concept will be very clearly understood

  • @allan459415
    @allan459415 6 лет назад

    Really nice explanation, thanks for helping me understand this problem.

  • @1sbollap
    @1sbollap 8 лет назад

    problem solving explanation is awesome

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

    Wah wat a explanation sir handoff for uh

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

    Thank you sir for help ❤️❤️

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

    Where is the link for palindrome program sir

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

    Sir, U r great tutor.

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

    Great explanation sir.Thank you..

  • @KuldeepDelhiCapture
    @KuldeepDelhiCapture 6 лет назад

    I m beginer here.......how the system will come to know that n=12 in second step?

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

    I wasted money on college😔

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

      Bruh same, and on tution too

  • @Anastasia-bo1uc
    @Anastasia-bo1uc 4 года назад

    Great explanation!

  • @sohamkarmakar9663
    @sohamkarmakar9663 7 лет назад

    thanks a lot sir
    the concepts u explained r very clear now

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

    Thank you Very Much Sir 2. I'll easily understand your teaching..

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

    How to reverse a number ending with zero sir ..and thank u for amazing lesson

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

    Excellent explain.....

  • @DilipSirClass
    @DilipSirClass 8 лет назад

    plz upload the video for star pattern program sir.

  • @DailyCRINGEShorts
    @DailyCRINGEShorts 7 лет назад

    sir please make a video on string palindrome or not

  • @aayush146
    @aayush146 6 лет назад

    for anyone who's looking for the code
    import java.util.Scanner;
    public class Palindrome
    {
    public static void main(String[] args)
    {
    int s=0,r,t;
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter any no.");
    int n=sc.nextInt();
    t=n;
    while(n>0)
    {
    r=n%10;
    n=n/10;
    s=s*10+r;
    }
    if(t==s)
    System.out.println("palindrome");
    else
    System.out.println("not palindrome");
    }
    }

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

    you made programming easy.....:)

  • @degenerategambler000
    @degenerategambler000 7 лет назад

    Sir, You are AWESOME!

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

    A getting error sir can u plzz help me to solve

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

    Great Explanation

  • @Brucepahadi
    @Brucepahadi 7 лет назад

    sir i have typed this code but it is just showing only enter any number but after taking input and pressing enter it is not showing the result ..
    package programs;
    import java.util.Scanner;
    public class Palindrom {
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int n;
    int rem;
    int sum=0;
    Scanner sc=new Scanner(System.in);
    System.out.println("Enter any number:");
    n=sc.nextInt();
    int t=n;
    while(n>=0)
    {
    rem=n%10;
    n=n/10;
    sum=sum*10+rem;
    }
    if(sum==t)
    {
    System.out.println("number is palindrom");
    }
    else {
    System.out.println("not palindrom");
    }

    }
    }

    • @narayanansri486
      @narayanansri486 7 лет назад +1

      check the while statement while(n>0) is correct to get the output....

  • @shoptechnical3251
    @shoptechnical3251 7 лет назад +1

    how n=0 and r=1.Plaese explain sir.

    • @a_weird_guy
      @a_weird_guy 7 лет назад

      in maths (1/10=0 is for Quotient and r= 1 is for remainder ) ...when n=1 its gets divided by 10 ..as he mentioned the Quotient part is n so n=0 and r =1 which is remainder.
      Hope i could help you , i am 0 in java learning from Navin Sir :-)

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

    Amazing sir .. thank you Soo much sir

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

    The code is not running, actually it just keep running, nothing is showing up

  • @ДенисІванок
    @ДенисІванок 4 года назад

    Indians rule the world of programming

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

    How we get 1%10= 1 as a remainder????

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

    u made it easy man

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

    nice one sir

  • @mamusthafa6
    @mamusthafa6 10 лет назад

    you are simply awesome....

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

    super anna excellent

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

    in case anyone need the code: all the best
    public static void main(String[] args) {
    int n = 125;
    int r;
    int s = 0;
    int t = n;
    while (n>0) {
    r = n%10;
    n= n /10;
    s= s*10+r;
    }
    if (t==s) {
    System.out.println("its palindrome");}
    else {
    System.out.println("its not palindrome");
    }
    }
    }

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

      while the entry comes from user ::
      public static void main(String[] args) {
      Scanner sc = new Scanner (System.in);
      System.out.println("enter your number");
      int n = sc.nextInt();
      int r;
      int s = 0;
      int t = n;
      while (n>0) {
      r = n%10;
      n= n /10;
      s= s*10+r;
      }
      if (t==s) {
      System.out.println("its palindrome");}
      else {
      System.out.println("its not palindrome");
      } }
      }

  • @gamingwithrockstar8031
    @gamingwithrockstar8031 6 лет назад

    You are awesome

  • @amishagarwal3151
    @amishagarwal3151 8 лет назад

    I have a query sir, Why cant we use FOR loop instead of while?

    • @idgaftrucking9312
      @idgaftrucking9312 8 лет назад

      Because for loop requires 3 values whereas we only need 1.

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

    I learned a lot.

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

    very helpful

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

    Nice sir

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

    good sir

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

    what a freakin starrr

  • @bhaigyasrisaikia2123
    @bhaigyasrisaikia2123 6 лет назад +1

    No i.. Uhu.. We fedup with i...

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

    Awesome

  • @lionciomorcilla4743
    @lionciomorcilla4743 7 лет назад

    thankyou sir

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

    If your here right now I need your help!!

  • @RahulSk-nw8ge
    @RahulSk-nw8ge 2 года назад

    thanks vro

  • @vijayapatil5371
    @vijayapatil5371 7 лет назад

    ty......sir

  • @AbhiShek-nv3vq
    @AbhiShek-nv3vq 8 лет назад

    you rock!!

  • @Thegamer-yp7qq
    @Thegamer-yp7qq 9 лет назад

    but u still awesome

  • @91-ritikjain36
    @91-ritikjain36 2 года назад

    real strugle watching it in 2023 of 30 jan

  • @gamingwithrockstar8031
    @gamingwithrockstar8031 6 лет назад

    Hi

  • @MoonaAijaz
    @MoonaAijaz 6 месяцев назад

    watching this in 2024

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

    👏👏👏👏👏🙏🙏❤❤❤

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

    int i,j,k;
    Scanner sc = new Scanner(System.in);
    System.out.println("Insert a three digit numbers differently in different lines
    to check whether it is a pallindrome.");
    i = sc.nextInt();
    j = sc.nextInt();
    k = sc.nextInt();
    int l=i+j+k;
    System.out.println(l);
    int m = i/100;
    int n = j/10;
    int o = k;
    int p = (o*100)+(n*10)+(m);
    System.out.println(p);
    if(l==p)
    System.out.println("The given no. is Pallindrome.");
    else
    System.out.println("The given no. is not a Pallindrome");

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