5.14 Palindrome or not Java Tutorial

  Рет қаралды 232,323

Telusko

Telusko

Күн бұрын

This video is about checking whether a number is palindrome or not. A palindromic number is a number that remains the same when its digits are reversed. Like 121, is palindrome. Input and output is same then the number is palindrome. We use the logic of Reverse to find whether a number is a palindrome number.
Check out our website: www.telusko.com
Follow Telusko on Twitter: / navinreddy20
Follow on Facebook:
Telusko : / teluskolearnings
Navin Reddy : / navintelusko
Follow Navin Reddy on Instagram: / navinreddy20
Subscribe to our other channel:
Navin Reddy : / @navinreddy
Telusko Hindi :
/ @teluskohindi
Subscribe to the channel and learn Programming in easy way.
Java Tutorial for Beginners: goo.gl/p10QfB
C Tutorial Playlist : goo.gl/8v92pu
Android Tutorial for Beginners Playlist : goo.gl/MzlIUJ
XML Tutorial : goo.gl/Eo79do
Design Patterns in Java : goo.gl/Kd2MWE
Socket Programming in Java : goo.gl/jlMEbg
Spring MVC Tutorial : goo.gl/9ubbG2
OpenShift Tutorial for Beginners : goo.gl/s58BQH
Spring Framework with Maven : goo.gl/MaEluO
Sql Tutorial for Beginners : goo.gl/x3PrTg
String Handling in Java : goo.gl/zUdPwa
Array in Java : goo.gl/uXTaUy
Java Servlet : goo.gl/R5nHp8
Exception Handling in Java : goo.gl/N4NbAW

Пікірлер: 120
@mdshoeb533
@mdshoeb533 Жыл бұрын
Watching this in 2023 , that was a fabulous explanation man ! Thanks 👍
@ShubhamKumar-sr2si
@ShubhamKumar-sr2si 2 жыл бұрын
Watching it in October of 2021, Yet no one has ever made it so clear to us Sir. Thank You ❤
@rebeccachase8845
@rebeccachase8845 3 жыл бұрын
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 🙏
@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.
@azureaqua2218
@azureaqua2218 5 жыл бұрын
Sir , you are one of the " BEST " teacher in the world ! thank you very much Sir. We appreciate your efforts !
@ehabelsaid2595
@ehabelsaid2595 9 жыл бұрын
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 8 жыл бұрын
+Ehab Elsaid Thank u :)
@reidtommy7352
@reidtommy7352 2 жыл бұрын
I guess Im kinda randomly asking but does anybody know a good site to stream newly released series online ?
@utsavbasantmani1711
@utsavbasantmani1711 7 жыл бұрын
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 :)
@mohdshadab05
@mohdshadab05 7 жыл бұрын
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.
@supriyapathak7431
@supriyapathak7431 4 жыл бұрын
The only video of yours that went above my head
@arivusolai271
@arivusolai271 7 жыл бұрын
now iam cleared the many concepts.Thank you sir..Your teaching is really Gud.
@arjunpareek6157
@arjunpareek6157 2 жыл бұрын
I'm surprised that how a 2014 video is helping me to prepare for my ISC boards in 2021, amazingly explained.
@AbdulRehman-yo2qn
@AbdulRehman-yo2qn 6 жыл бұрын
Amazingly explained. Thanks Navin
@ssso6243
@ssso6243 4 жыл бұрын
Thank you Telusko. Your tutorial has been extremely helpful.
@pubgpryiapubg3301
@pubgpryiapubg3301 4 жыл бұрын
And look I am still using your tutorials in 2019. Thanks for amazing lessons.
@harshveerthakur7629
@harshveerthakur7629 2 жыл бұрын
Iam using in 2022 hah
@raulrgh
@raulrgh Жыл бұрын
2022
@sujitkrsingh
@sujitkrsingh Жыл бұрын
@@harshveerthakur7629 and am in 2023😅
@rezaarian237
@rezaarian237 3 жыл бұрын
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
@user-kz4bh4up3b
@user-kz4bh4up3b 2 жыл бұрын
Wow, very clear and amazing explanation. Thank you Mr.
@divyad9144
@divyad9144 2 жыл бұрын
Your lectures are best, way of explanation is awesome
@allan459415
@allan459415 5 жыл бұрын
Really nice explanation, thanks for helping me understand this problem.
@vijay_kalyan143
@vijay_kalyan143 7 жыл бұрын
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.
@mjagan619
@mjagan619 8 жыл бұрын
u r great sir in teaching java. Your tutorials are amazing
@naqiabedi
@naqiabedi 8 жыл бұрын
navin you are a great tutor
@samarthk.s9765
@samarthk.s9765 6 жыл бұрын
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.
@mounimounika3800
@mounimounika3800 9 жыл бұрын
the way teaching is excellent
@mohsinzaman7367
@mohsinzaman7367 3 жыл бұрын
Man you rocked it. I love your videos.
@SushmasKitchen1
@SushmasKitchen1 3 жыл бұрын
Awesome video. Understood everything. Thank you sir 😀
@jananikannan4383
@jananikannan4383 3 жыл бұрын
Awesome explanation sir..hats off u
@shrinivasemekar3533
@shrinivasemekar3533 2 жыл бұрын
very well explained thank you so much
@1sbollap
@1sbollap 7 жыл бұрын
problem solving explanation is awesome
@esrahazinedar4700
@esrahazinedar4700 Жыл бұрын
Thanks a bunch . The best explanation ever❤
@mcwilkinsdelacruz7180
@mcwilkinsdelacruz7180 4 жыл бұрын
Thank you Very Much Sir 2. I'll easily understand your teaching..
@maheshreddy4788
@maheshreddy4788 8 жыл бұрын
nice videos..once we will watch this videos we will be expert on that topic..............Thank you sir....
@venkydamanaboina4718
@venkydamanaboina4718 Жыл бұрын
Thank you soo much for the clear cut data sir
@monalisapanda7731
@monalisapanda7731 3 жыл бұрын
Great explanation sir.Thank you..
@shahinkhatoon1363
@shahinkhatoon1363 3 жыл бұрын
Amazing logic and teaching
@sohamkarmakar9663
@sohamkarmakar9663 6 жыл бұрын
thanks a lot sir the concepts u explained r very clear now
@rajulama9732
@rajulama9732 9 жыл бұрын
you are awesome than my teacher
@kumaralankrit
@kumaralankrit 2 жыл бұрын
2022 I am using this Playlist... Thanks a lot 🔥🔥
@allopez13
@allopez13 8 жыл бұрын
You are master in Java!!!
@amanullahchimmalagi3937
@amanullahchimmalagi3937 3 жыл бұрын
Tq sir ur concept will be very clearly understood
@SmartProgramming
@SmartProgramming 6 жыл бұрын
nice concept sir, good explanation, keep it up 👍👍
@anirudhkumar2523
@anirudhkumar2523 2 жыл бұрын
Excellent explain.....
@degenerategambler000
@degenerategambler000 7 жыл бұрын
Sir, You are AWESOME!
@Anastasia-bo1uc
@Anastasia-bo1uc 4 жыл бұрын
Great explanation!
@kishore76dhaka
@kishore76dhaka 3 жыл бұрын
God Bless You and all of us
@smitaharinkhede8319
@smitaharinkhede8319 4 жыл бұрын
Sir, U r great tutor.
@vibe_with_simran
@vibe_with_simran 3 жыл бұрын
Best explanation
@shaimatherani7051
@shaimatherani7051 4 жыл бұрын
Thank you sir for help ❤️❤️
@anveshveldhandi7186
@anveshveldhandi7186 4 жыл бұрын
you made programming easy.....:)
@saimegha4289
@saimegha4289 5 ай бұрын
Wah wat a explanation sir handoff for uh
@varshithag6757
@varshithag6757 3 жыл бұрын
Great Explanation
@ashutoshkumarjha5188
@ashutoshkumarjha5188 5 жыл бұрын
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"); } } }
@savedbygrace2993
@savedbygrace2993 3 жыл бұрын
Wish I met you earlier on my college days :D Sir can u make how to reverse a string? thank you!
@Siriiiiii
@Siriiiiii Жыл бұрын
u made it easy man
@pemawangyal9231
@pemawangyal9231 9 жыл бұрын
Navin should be selected as the best java tutor
@prasanna6438
@prasanna6438 Жыл бұрын
nice one sir
@mamusthafa6
@mamusthafa6 9 жыл бұрын
you are simply awesome....
@vasanthakumark8502
@vasanthakumark8502 4 жыл бұрын
I wasted money on college😔
@chicken92903
@chicken92903 3 жыл бұрын
Bruh same, and on tution too
@DilipSirClass
@DilipSirClass 7 жыл бұрын
plz upload the video for star pattern program sir.
@pankajkesharwani8088
@pankajkesharwani8088 3 жыл бұрын
How to reverse a number ending with zero sir ..and thank u for amazing lesson
@DailyCRINGEShorts
@DailyCRINGEShorts 7 жыл бұрын
sir please make a video on string palindrome or not
@HindolGhose
@HindolGhose 3 жыл бұрын
I learned a lot.
@gamingwithrockstar8031
@gamingwithrockstar8031 5 жыл бұрын
You are awesome
@madhavichukka1732
@madhavichukka1732 5 жыл бұрын
Where is the link for palindrome program sir
@shuvshaw9594
@shuvshaw9594 4 жыл бұрын
very helpful
@tteja239
@tteja239 2 жыл бұрын
super anna excellent
@mercyk6817
@mercyk6817 2 жыл бұрын
Nice sir
@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
@vigneshsr6903
@vigneshsr6903 4 жыл бұрын
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
@thisisme157
@thisisme157 4 жыл бұрын
How write a palindrome code for two strings in java ?please any one explain me
@knowledgepark9862
@knowledgepark9862 3 жыл бұрын
thanks sir
@RahulSk-nw8ge
@RahulSk-nw8ge Жыл бұрын
thanks vro
@lionciomorcilla4743
@lionciomorcilla4743 6 жыл бұрын
thankyou sir
@akayroy207
@akayroy207 Жыл бұрын
What will be the code: If I want to print reverse number and the also wants to print it's palindrome or not???
@KuldeepDelhiCapture
@KuldeepDelhiCapture 5 жыл бұрын
I m beginer here.......how the system will come to know that n=12 in second step?
@pratyushsachan221
@pratyushsachan221 4 жыл бұрын
good sir
@vijayapatil5371
@vijayapatil5371 7 жыл бұрын
ty......sir
@sanisan5787
@sanisan5787 4 жыл бұрын
Awesome
@siddheshsawant9931
@siddheshsawant9931 4 жыл бұрын
A getting error sir can u plzz help me to solve
@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"); } }
@anubhavkumar007
@anubhavkumar007 2 жыл бұрын
Hey Navin, But this code fails when input number is having 0's at end (i.e.14900)
@mollasakil694
@mollasakil694 2 жыл бұрын
Condition should be (n !=0)
@tortugalechuga
@tortugalechuga 3 жыл бұрын
what a freakin starrr
@mtcricketpredictions7624
@mtcricketpredictions7624 Жыл бұрын
//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"); } } }
@sanaullahansari9884
@sanaullahansari9884 3 жыл бұрын
The code is not running, actually it just keep running, nothing is showing up
@stevenkane7
@stevenkane7 4 жыл бұрын
If your here right now I need your help!!
@pahadijohnwick
@pahadijohnwick 6 жыл бұрын
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 6 жыл бұрын
check the while statement while(n>0) is correct to get the output....
@Thegamer-yp7qq
@Thegamer-yp7qq 8 жыл бұрын
but u still awesome
@vivekpoojary265
@vivekpoojary265 3 жыл бұрын
How we get 1%10= 1 as a remainder????
@pratikchilkewar48
@pratikchilkewar48 3 жыл бұрын
yes
@user-us1mj7wh4c
@user-us1mj7wh4c 4 жыл бұрын
Indians rule the world of programming
@shoptechnical3251
@shoptechnical3251 7 жыл бұрын
how n=0 and r=1.Plaese explain sir.
@a_weird_guy
@a_weird_guy 6 жыл бұрын
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 :-)
@AbhiShek-nv3vq
@AbhiShek-nv3vq 7 жыл бұрын
you rock!!
@gamingwithrockstar8031
@gamingwithrockstar8031 5 жыл бұрын
Hi
@bhaigyasrisaikia2123
@bhaigyasrisaikia2123 5 жыл бұрын
No i.. Uhu.. We fedup with i...
@rohullahramin8322
@rohullahramin8322 4 жыл бұрын
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 4 жыл бұрын
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"); } } }
@amishagarwal3151
@amishagarwal3151 8 жыл бұрын
I have a query sir, Why cant we use FOR loop instead of while?
@idgaftrucking9312
@idgaftrucking9312 7 жыл бұрын
Because for loop requires 3 values whereas we only need 1.
@hostagevlog
@hostagevlog 4 жыл бұрын
Bala
@91-ritikjain36
@91-ritikjain36 Жыл бұрын
real strugle watching it in 2023 of 30 jan
@venkateswarluguntaka7370
@venkateswarluguntaka7370 4 жыл бұрын
@Thegamer-yp7qq
@Thegamer-yp7qq 8 жыл бұрын
u should first show how % works
@venkydamanaboina4718
@venkydamanaboina4718 Жыл бұрын
👏👏👏👏👏🙏🙏❤❤❤
5.15 Perfect Number in Java
5:48
Telusko
Рет қаралды 144 М.
What is JSON ?
11:56
Telusko
Рет қаралды 1,1 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,2 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 151 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 11 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 25 МЛН
Java Program #10 - Palindrome Number in Java
10:03
Programming For Beginners
Рет қаралды 10 М.
Java Tutorial : Palindrome
9:36
Navin Reddy
Рет қаралды 123 М.
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 138 М.
Palindrome Program In Java Tutorial #63
9:50
Alex Lee
Рет қаралды 101 М.
What is Agile?
15:22
Telusko
Рет қаралды 980 М.
Program to Check Whether A Number is Prime or Not in Java by Deepak
8:39
Smart Programming
Рет қаралды 545 М.
8.1 What is Encapsulation in Java Tutorial
6:39
Telusko
Рет қаралды 392 М.
Palindrome |  Program to check if a string is Palindrome | Java
9:31
B Tech Computer Science
Рет қаралды 103 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,2 МЛН