Program To Check If A Number Is Prime Or Not In Java | FREE DSA Course in JAVA | Lecture 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2022
  • Data Structures and Algorithms Free Course (Learn DSA Without Paise) Playlist - • Data Structures And Al...
    We are up with the lecture 10 of our much awaited dsa course in java.
    We are up with a new lecture in the mathematics module of our free dsa course. Today we will learn about how to find if a number is prime or not.
    We will understand the complete logic behind prime number and what is the logic behind the program to find if a number is prime or not.
    Finding whether a number is a prime number or not is a very popular programming question from the point of interview and every job aspirant must learn the concept behind this program.
    In this lecture we will learn the complete logic behind the prime number identification program and the complete code in java as well.
    Watch the complete lecture and add more expertise to your dsa learnings.
    Subscribe to our channel for regular updates on the dsa course and click on the bell icon to never miss an update from our dsa course.
    For more information, fill this form: forms.gle/8eiUmM92Fx563Aen9
    or call us at 8884881203
    Facebook: / thetapacademy
    Instagram: / tapacademy_online
    Linkedin: / 73820805
    Website: www.thetapacademy.com​
    #dsa #dsacourse #java #dsainjava #javaprogramming #coding #code

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

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

    I am a student of Rohit sir... Batch 2016 ... After that I am seeing him here... As usual very well explained sir...fan of you

  • @monikaed.education4954
    @monikaed.education4954 ปีที่แล้ว +4

    Amazing and unique ways shared to solve and get outputs concepts it's really so much helpful I ever seen before ❤😮

  • @ROHITKUMAR-or9tk
    @ROHITKUMAR-or9tk ปีที่แล้ว +1

    We do i*i

  • @_sarthakmisal
    @_sarthakmisal 9 หลายเดือนก่อน +4

    @tapacademy sir you said 35 is included in sexy prime numbers but how it can be 28:26

  • @ayantikapaik3688
    @ayantikapaik3688 7 หลายเดือนก่อน

    U are great🥺I got ur teeching so comfortable after hcf and lcm solution on java.

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

    Excellent rohit ravinder

  • @indirajithl1866
    @indirajithl1866 5 หลายเดือนก่อน

    Wonderful explanation I have ever had..

  • @jaykumarkota3161
    @jaykumarkota3161 10 หลายเดือนก่อน +1

    Amazing explanation❤

  • @Jdk281
    @Jdk281 8 หลายเดือนก่อน

    Love the way you teach...

  • @midlajahmad-cs0058
    @midlajahmad-cs0058 7 หลายเดือนก่อน

    one of the cool and crisp explaination

  • @chiranjeevi.vchiru5161
    @chiranjeevi.vchiru5161 6 หลายเดือนก่อน

    Whenever I see your videos and way of teaching, I get motivation for coding Rohit sir

  • @user-lv9rf1hv1u
    @user-lv9rf1hv1u 2 หลายเดือนก่อน

    God bless you for this, THis is the best explanation every

  • @Poojayadav-hg4vw
    @Poojayadav-hg4vw หลายเดือนก่อน

    Your lectures are amazing !!

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

    Sir awesome

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

    best video for beginners

  • @swapnil72
    @swapnil72 8 หลายเดือนก่อน +1

    Till date this is the best video explanation I have seen on the analysis of prime number & how to find them in Java this video deserves the title of
    "fantastic primes and where to find them"
    😅
    This video perfectly explains the programming logic of finding primes whilst preserving the pure essence mathematical analysis ❤

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

    you deserve more views

  • @RaviGupta-vj1we
    @RaviGupta-vj1we 9 หลายเดือนก่อน

    excellent 🙂🙂

  • @11csepratikshaargulewar71
    @11csepratikshaargulewar71 15 วันที่ผ่านมา

    At timestamp 27:00 checkPrime method isn't called .but it is called isPrime

  • @iamdhanush03
    @iamdhanush03 7 หลายเดือนก่อน

    Amazing

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

    Hello sir....can u please upload the video for finding.... square root (√x)....values...

  • @charukeshck6502
    @charukeshck6502 11 หลายเดือนก่อน +3

    Sir U look like KL Rahul😄😄

  • @mahavir9267
    @mahavir9267 2 หลายเดือนก่อน +1

    Thank you sir, but I have a doubt is 35 prime?
    Because it's factors: 1,5,7,35
    🤔🤔

  • @sunthar16
    @sunthar16 6 หลายเดือนก่อน

    @4.50, num/2 == Last factor, but its not applicable for number - 9 , when 9/2 return 4, not factor 3

  • @chaituchaitanya6556
    @chaituchaitanya6556 6 หลายเดือนก่อน

    Hi sir,
    at 4:42,you mentioned that the last factor is divided by 2. However, 2, 3, 4, 3, 5, 6, out of these highlighted numbers,2, 2, 5 are not divided by 2. Can someone please clarify where am I missing?

  • @116_likhitawanjari2
    @116_likhitawanjari2 8 หลายเดือนก่อน

    editor so smart.

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

    Sir 35 is not prime but In program we gave it as a prime . Then how can we solve it by other method.

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

      Check your program again, it will not return prime for 35

  • @sush_cat2601
    @sush_cat2601 6 หลายเดือนก่อน

    25 is not prime no
    😂😂this is flaw
    But I love your teaching method
    Excellent teacher you are,always ready to shair every knowledge which you have

  • @syedsuhel6164
    @syedsuhel6164 3 หลายเดือนก่อน

    In last Ur not invokes the checkprime function. Logic is still executing form isprime function😢

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

    if we type 1 it is coming true

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

    35 is not a prime, why it named as sexy prime

  • @bokinalavijay6876
    @bokinalavijay6876 3 หลายเดือนก่อน

    9/2 = 4 and it is !3 know??

  • @RajeshSharma-el7oj
    @RajeshSharma-el7oj ปีที่แล้ว +2

    Sir please hindi me video banaiye please 🙏🙏 humlog ko bhi help mele.... Please 🙏🙏🙏🙏 aapki content jabardast hai

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

    35 is a not a prime number . there is a mistake in the last solution i think.

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

    is 25 prime? As per your logic 25 s prime. but actually its not