7.2 What is Binary Search | Binary Search Algorithm with example | Data Structures Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • CORRECTION: In the while loop the condition should be l less than equal to r.
    Discussed Binary Search Algorithm-Divide and Conquer Method, Analysis of Binary Search Algorithm, Iterative Method, Time Complexity of Binary Search
    Linear search:
    • 7.1 Linear Search Algo...
    DSA Full Course: https: • Data Structures and Al...
    ******************************************
    See Complete Playlists:
    C Programming Course: • Programming in C
    C++ Programming: • C++ Complete Course
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    DAA Course: • Design and Analysis of...
    Placement Series: • Placements Series
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    *******************************************
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    #binarysearch #linearsearch #datastructures

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

  • @DMphotoEditing
    @DMphotoEditing ปีที่แล้ว +32

    Plaease Skip 7:50 to 12:37 because some editing issues to repeating that part.

    • @AAKANKASHA
      @AAKANKASHA 3 หลายเดือนก่อน +1

      Thank you ❤️

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

      Yes , for a moment I thought I was hallucinating

  • @JennyslecturesCSIT
    @JennyslecturesCSIT  5 ปีที่แล้ว +729

    CORRECTION: Instead of writing while(l

    • @GrandTotalGamer
      @GrandTotalGamer 5 ปีที่แล้ว +8

      Yup ✌

    • @theartist8835
      @theartist8835 5 ปีที่แล้ว +25

      we love you. please upload more videos. please make some videos on big O notation, time complexity and space complexity for compete beginners

    • @ramvk2299
      @ramvk2299 5 ปีที่แล้ว +6

      Tq mam

    • @ashwanisharma9496
      @ashwanisharma9496 5 ปีที่แล้ว +11

      i was trying this from 1 hour finally i make it right myself correct

    • @sarfaraz6582
      @sarfaraz6582 4 ปีที่แล้ว +6

      I am actually wanna say this...

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

    3 am, semester exam in morning..... maam u saved me !!! pura ds smjha diya !!!

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

      To pura sem kya kiya🤣🤣

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

      Bhai mera bhi DS ka paper subha 3rd semester ka HAHAHHAHAHA

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

      @@ankithamirani4491 time nahi milta hai itna 100 din ke andar sem exam hota hai

    • @sriprakash7245
      @sriprakash7245 6 หลายเดือนก่อน +1

      My exam also in 6 days I'm watching now😂😢

  • @haniaziz8315
    @haniaziz8315 4 ปีที่แล้ว +132

    You make my college life much easier, i really appreciate your work and efforts.
    All the way from Kenya 🇰🇪

  • @mihirdesai2144
    @mihirdesai2144 4 ปีที่แล้ว +132

    YOU'VE COVERED ALL THE IMPORTANT THINGS ONE SHOULD KNOW TO LEARN BINARY SEARCH!!!
    WELL DONE!!! YOU'VE DONE GREAT JOB!!!

    • @Tarun-mp7mu
      @Tarun-mp7mu ปีที่แล้ว +1

      @@ManishSharma-vw9js 😹😹😹

  • @omaraziz9582
    @omaraziz9582 5 ปีที่แล้ว +63

    Your lectures make me understand better than my professor. Keep the good work and I like the way you demonstrate step by step.

  • @sudarshan3965
    @sudarshan3965 5 ปีที่แล้ว +174

    You were my teacher in BTech I year. PGI, Jaipur.

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

      jaipur me padhati h kya yh mam?

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

      U were lucky

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

      @@tusharsingh2048 ab nahi padhati. Pahle padhati thi

    • @sudarshan3965
      @sudarshan3965 3 ปีที่แล้ว

      @@venkyvenky4261 😅

    • @jitishgupta6424
      @jitishgupta6424 3 ปีที่แล้ว

      Really , does she lives in Jaipur ?

  • @GrandTotalGamer
    @GrandTotalGamer 5 ปีที่แล้ว +109

    What a coincidence mam I was looking for binary search lectures ..& then u uploaded it 😅😊😊
    Thanks

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

    I love your teaching mode, especially how she looks at the camera and gestures "Do you understand ?" I connect with that a lot. I have never zoomed out watching any of her tutorials. Thanks for all you do ma'am 🙏

  • @KumarSwami-jo6uu
    @KumarSwami-jo6uu 3 หลายเดือนก่อน +7

    My HOD always tell us to watch ur videos 😅

  • @Aamir08
    @Aamir08 4 ปีที่แล้ว +28

    I think at 17:38, while condition should be as - while ( l

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

    From NIT Raipur(1st Year) Your videos is very benefical for us lucky to have u as a guide mam🙂🙂

  • @Subham_Lohan
    @Subham_Lohan ปีที่แล้ว +10

    @22:00 I am amazed how clearly you have elaborate this concept.....you are a true engineer

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

      Abb tuo dekh liyaa

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

    I am from pakistan and i really appreciate your efforts and struggle behind every topic and course , i understand the binary search algorithm after watching your vedio...keep doing

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

    Mam,,please do editing perfectly,, in this your were repeated calculation of mid values table twice

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

    Your teaching style is a piece of cake. Thanks a million.
    Watching from Ethiopia.

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

    If I'm passing my 3rd sem it's just because of you.. coz I haven't attended any classes during this quarantine 😂😂.. thank you so much 😁

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

      Welcome Beta

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

    You are my first online teacher whose video I can understand in first time in English because you English in also basic English . I shared this video to all of my b.tech friend in bbdec Lucknow.

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

    The properties needed to apply binary search is that -
    1. The input array must contain sorted elements.
    2. Elements of the input array shouldn't have repeated elements.

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

    I just wanna to say, You are the best teacher in TH-cam world :)

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

    Mam jab Aap samjhate ho tho maan bahut jyada lag jata hai...
    Ar vo jo last mai smile thi na...bahut mehnat ki apne ye video banane mai...

  • @91-ritikjain36
    @91-ritikjain36 3 ปีที่แล้ว +6

    Mam you really deserve respect you explain each and every topic in detail it’s easy to understood

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

    I love this lady, I have seen all kinds of algorithm explanations non as clear as hers with just a white board, you earned a sub and a follow and several likes.

  • @nainatandon2963
    @nainatandon2963 4 ปีที่แล้ว +13

    Your explanation helped me a lot in my Computer Science. Thanks a lot

  • @prodigyprayaas6285
    @prodigyprayaas6285 4 ปีที่แล้ว +7

    Hello Mam The first part of clip is repeated from 7:50 upto 12:35 by Mistake.

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

    This is the best tutorial I've seen on algorithms thus far. please continue to make fire content

  • @georgemoraitis1923
    @georgemoraitis1923 4 ปีที่แล้ว +8

    Thank you for your instructions!! Big O notation, Time complexity and Space complexity for compete beginners as mentioned below will be great!! Thank you again.

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

    I didn't understand the reporter's explanation in our class, until i saw this video! you're the best! thank God i found your channel lovelots❤

  • @priyahuddar9628
    @priyahuddar9628 4 ปีที่แล้ว +8

    Mam your teaching is really awesome. 💯 Thank you,keep uploading videos on sorting more🙏🙏

  • @asrasiddiqui12-b99
    @asrasiddiqui12-b99 5 ปีที่แล้ว +15

    Great explanation ......but ma'am plz tell the programmings of pattern because its 2 tough for me and I know when you will tell I defenitly understand that

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

      Bhai u can see video of saurabh shukla also

  • @earning_big
    @earning_big 3 ปีที่แล้ว

    Im the computer science student...i watch ur lectures carefully because ur lectures are well understandable...sometimes i lost attention and u know that reason coz u r so beautiful...

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

    aap bahut accha padati hai aapke leacture bahut jada hi madadgar sabit ho rahe hai corona lock me aapke leacture bahut hi madadgar sabit hue aap ham students ke liye bahut hi important hai
    Thanks a lot ma'am

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

    I understand very less in class but mam u teach very simply. Thanks mam

  • @KumarSwami-jo6uu
    @KumarSwami-jo6uu 3 หลายเดือนก่อน +2

    My HOD always tell us to watch ur videos 😂

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

    Ma'am superb 👌👌👌👌👌,ur videos are very understandable,I like ur videos a lot,and sry to say this, u and my sir said about this program is similar, ma'am u will be the best teacher, u explained each and every thing, tnq a lot

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

    Your are amazing teacher. I love your teaching

  • @DSBOYS-y3m
    @DSBOYS-y3m 19 วันที่ผ่านมา

    i like ur teaching ..the way ur explaining is awesome ..keep it up madammmm ,,,,,love from sacet,chirala,ap

  • @antonyjoseph5422
    @antonyjoseph5422 3 ปีที่แล้ว

    You mad this really easy i was struggling to study code so many youtube videos people used a lot of unnecessary varibales and stuff this jst made everything easy thanks maam

  • @741ibrahim2
    @741ibrahim2 2 ปีที่แล้ว

    jenny mam litreally i have increased my coding skills and there are a lot of students are struggling in DS but jenny mam is there
    no worry love u mam in tems of ur teaching

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

    Maam the best part of lecture apart from you teaching well is that you describe the working principle first rather than just tracing the algorithms......keep it up :) ALL THE BEST FOR YOUR CHANNEL

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

    Ma'am your teaching style is easily understandable thanks

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

    I am still not understanding all of it but this video helps so much. Thank you

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

    We r so thankful to God 🙏🙏..
    We have teacher like u😊😊😊
    U saved me mam ❤️

  • @sireeshajangam1561
    @sireeshajangam1561 3 ปีที่แล้ว

    Your way of teaching is very inspirational to me mam

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

    Taking a bow to ur explanation 🙏🏻. Thanks a lot mam

  • @KunalSingh-rj7nz
    @KunalSingh-rj7nz ปีที่แล้ว

    Who needs paid courses when we have such a wonderful teacher teaching for free.

  • @arshkhan_pathan
    @arshkhan_pathan 3 ปีที่แล้ว

    Far Better than My professor.
    Thanks Mam

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

    watching after 4yrs its amazing and it is the😊 best for me

  • @user-dx2dq5su7u
    @user-dx2dq5su7u 9 หลายเดือนก่อน

    best video on youtube this video will clear your all doubts about binary search and your all concepts will be clear after watching this video

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

    Jenny is the world one and only best teacher 🥰🥰🥰
    To guide the all students🥺🥺🥺
    I am big fan Jenny sister😘😘😘

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

    I am working professional and i can say that this video is one of the best.
    Thanks Jenny Ma'am

  • @aalsi_insan
    @aalsi_insan 4 ปีที่แล้ว +12

    beauty with a brain 😍🙌🏼

    • @saurabhsaxena1992
      @saurabhsaxena1992 3 ปีที่แล้ว

      It so very scarcely found

    • @devhunk
      @devhunk 3 ปีที่แล้ว

      😂

    • @meghana3775
      @meghana3775 3 ปีที่แล้ว

      @@saurabhsaxena1992 I think it's rarely

  • @shubham-pp4cw
    @shubham-pp4cw 4 ปีที่แล้ว +2

    Nice & Simple explanation ma'am

  • @MANISHKUMAR-ls8rr
    @MANISHKUMAR-ls8rr 3 ปีที่แล้ว

    very well teaching . i have problem with english bit i am manage. realy you work very nicely 👌

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

    Mam you are a genius and I love your explanation of any topic 😊

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

    Jenny's figured out my homework. I love you.

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

    cant find a better explaination than this wow just amazing

  • @58__tannurawat95
    @58__tannurawat95 4 ปีที่แล้ว +2

    Fantastic style and hardwork to explain ma'am

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

    Excellent teaching mam
    Thank u for teaching

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

    Was lost, but now I'm found. Subscribed. Thanks a lot for so much information

  • @Instagram.Status
    @Instagram.Status 3 ปีที่แล้ว +1

    Great i understand in one go..
    Thanku mam.

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

    Please make lectures on microprocessor and architecture also and these lectures were so helpful for me for my exams

  • @mziyandamngqibisa2985
    @mziyandamngqibisa2985 5 ปีที่แล้ว +7

    Such an amazing channel. Keep the videos coming!!!!!!!

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

    Madam you are awesome 👌
    Each and every topic becomes easy while you are teaching

  • @mohamedkanu66
    @mohamedkanu66 3 ปีที่แล้ว

    No word can describe how u make me feel. Hope genius makes sense mam. Regards from a Sierra Leonean currently studying in Malaysia

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

    Your lectures help me a lot

  • @RameshRamesh-vc5dm
    @RameshRamesh-vc5dm 6 หลายเดือนก่อน

    The way of teaching is tremendous

  • @bluevinTV
    @bluevinTV 9 หลายเดือนก่อน +1

    Thank u mam from Coimbatore

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

    Thank you ma'am.. your arrays lectures helped me a lot... I am class 10 icse student

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

    Great explanation....YOU ARE BEST LECTURE IN MY VIEW. BECAUSE YOU ARE FREE TO STRESS AND YOU ADD SOME FUNNY ACTION TO FREE OUR MIND THAT IS WHY I ADMIRE YOU!!! LOVE YOU, FROM ETHIOPIA

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

    Love your Technical explaining ❤️🔥 Thank you mam ,you made my exams 🔥😊

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

    The only reason to see your videos is your damn beautiful mam..😅and your explanation go through my mind i can watch your videos for hours ..by listening to the lecture and staring at you😁😅
    Tq mam for guiding us..thanks alot...😊

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

    best explanation mam👍

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

    6 hrs to my paper thank u i hope it comes and i can remember it

  • @Lokesh-sc6dw
    @Lokesh-sc6dw 2 ปีที่แล้ว

    Mam your explanation was excellent and keep going on..

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

    would you please create a course for c#?
    i think you are the only person who i can learn it from

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

    very impressive teachung

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

    Thanks mam ur teaching is nice i understood clearly 👍

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

    thank you thank you so much for the detailed explanations. I have been studying only this topic for 3 days. thank you so much T.T

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

    Thanks your method of explaining of concept is very understandable...

  • @user-jt7ov5tv3h
    @user-jt7ov5tv3h ปีที่แล้ว

    I am so glad I found this channel

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

    Nice explanation. Everyone can understand

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

    Ooooh, you are so great!
    I don't find better words to describe you!
    Thaaaaaanks aloooooot

  • @Hotchap33844
    @Hotchap33844 3 ปีที่แล้ว

    i have seen many videos on ds but u are just fabulous

  • @GiridharareddySaragada-nl3lm
    @GiridharareddySaragada-nl3lm 9 หลายเดือนก่อน +1

    U r explanation is awesome mam

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

    Madam your doing excellent service to students . Thank you madam

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

    My feedback is to provide code in every video that will really helpful
    Regards
    AHSHAN

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

    Understood completely thankyou so much 😌😊♥

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

    Thanks for your teaching. I understand clearly binary search algorithm.🤩🤩🥰

  • @doctor4001
    @doctor4001 6 หลายเดือนก่อน +1

    mam i think the while condition should be l

  • @rajesh5714
    @rajesh5714 3 ปีที่แล้ว

    Ma'am your teaching so unbelievable
    My data strature sir is shyko

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

    Nice teaching method.......... I am impress to look you and your teaching method.......

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

    Mam please make some videos on c modules, some ppls including me dont have proper basics on c. Try once please 🙏💓

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

    Its amezinig mem your effort is too much in this video ❤❤❤❤ great

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

    Thanks. Very clear and helpful information and explanations.👍

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

    Excellent work mam,ap aise hi pdate raho humein humesha

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

    Thanks... Please make video on GATE previous year questions respective topics

  • @luckysgallery4938
    @luckysgallery4938 3 ปีที่แล้ว

    Your are doing great job.
    It helps May students including me.
    Upload more videos...soon hit to 1M subs.
    When u Start the class u will be so serious about the topic. And when u endup the class with a beautiful smile u will tell *byee byee take care* that's really crazy. Felt happy
    Thank you.

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

    Thank you so much for so much detailed learning

    • @maamarhu2393
      @maamarhu2393 3 ปีที่แล้ว

      I will sell my coc account are U interested it is th10

  • @AjayKumar-kh2qo
    @AjayKumar-kh2qo 3 ปีที่แล้ว

    mam your teaching concept is so good. 🙏🙏🙏