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

Поделиться
HTML-код
  • Опубликовано: 27 июн 2019
  • 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/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    #binarysearch #linearsearch #datastructures

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

  • @DMphotoEditing
    @DMphotoEditing Год назад +25

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

  • @JennyslecturesCSIT
    @JennyslecturesCSIT  5 лет назад +717

    CORRECTION: Instead of writing while(l

    • @MrMutant-v1h
      @MrMutant-v1h 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 4 года назад +6

      Tq mam

    • @ashwanisharma9496
      @ashwanisharma9496 4 года назад +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...

  • @mihirdesai2144
    @mihirdesai2144 4 года назад +130

    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 😹😹😹

  • @harshgupta6558
    @harshgupta6558 3 года назад +103

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

    • @ankithamirani4491
      @ankithamirani4491 2 года назад +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 5 месяцев назад +1

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

  • @omaraziz9582
    @omaraziz9582 5 лет назад +61

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

  • @haniaziz8315
    @haniaziz8315 4 года назад +127

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

  • @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 🙏

  • @91-ritikjain36
    @91-ritikjain36 3 года назад +6

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

  • @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.

  • @olwethuphakade6026
    @olwethuphakade6026 3 года назад +5

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

  • @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

  • @MrMutant-v1h
    @MrMutant-v1h 5 лет назад +109

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

  • @priyahuddar9628
    @priyahuddar9628 4 года назад +8

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

  • @suryanshsrivastava1559
    @suryanshsrivastava1559 2 года назад +11

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

  • @yasina63
    @yasina63 Год назад +2

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

  • @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

  • @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

  • @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

  • @sudarshan3965
    @sudarshan3965 5 лет назад +174

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

  • @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...

  • @Subham_Lohan
    @Subham_Lohan Год назад +10

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

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

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

  • @user-dx2dq5su7u
    @user-dx2dq5su7u 8 месяцев назад

    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

  • @mziyandamngqibisa2985
    @mziyandamngqibisa2985 5 лет назад +7

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

  • @saideep3047
    @saideep3047 3 года назад +3

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

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

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

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

    Thanks for sharing this knowledge . I got the concept crisp n clear 😃

  • @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

  • @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

  • @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

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

    Ma'am your teaching style is easily understandable thanks

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

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

  • @KumarSwami-jo6uu
    @KumarSwami-jo6uu 3 месяца назад +5

    My HOD always tell us to watch ur videos 😅

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

    Thank you so much ma'm your videos are really helped me...your concepts and teaching style is very unique its really very easy to understand....tysm

  • @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...

  • @Aamir08
    @Aamir08 4 года назад +28

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

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

    All your videos are sooo helpful!!!!! thank you.

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

    Thnku so much mam!God bless you. you are best in teaching angel. I need your help in the " for loop" examples to get more clarity like u gave it in the last .

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

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

  • @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.

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

    I really understand your lectures, thanks so much and give us more

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

    cant find a better explaination than this wow just amazing

  • @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

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

    Wow what a great class! Keep going. Well done mam.

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

    Thank you your videos are really helping me a lotss no words to express how much its truly from heart i mean this ....

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

    Thank you ma'am for clearing all the confusions..., ☺

  • @parasqadir2560
    @parasqadir2560 3 года назад +3

    I just wanna to say, You are the best teacher in RUclips world :)

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

    i really appreciate you jenny ... every video is so much helpfull thank you

  • @ImmaginationsHome
    @ImmaginationsHome 2 месяца назад

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

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

    Thanks. Very clear and helpful information and explanations.👍

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

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

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

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

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

    Your lectures help me a lot

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

    A very comprehensive tutorial, thanks ma!

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

    What a explanation mam !You are very great in explanation thank you mam

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

    Your lectures are great ma'am....Thank you sooo...oo much.

  • @58__tannurawat95
    @58__tannurawat95 4 года назад +2

    Fantastic style and hardwork to explain ma'am

  • @mustafaraza5743
    @mustafaraza5743 5 лет назад +2

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

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

    Your are amazing teacher. I love your teaching

  • @ShayanVlogg
    @ShayanVlogg 5 лет назад +2

    love it ur TEACHING STYLE

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

    Awesome explanation, hats off to you ma'am!!! :)

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

    Excellent work mam,ap aise hi pdate raho humein humesha

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

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

  • @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.

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

    Madam your doing excellent service to students . Thank you madam

  • @user-jt7ov5tv3h
    @user-jt7ov5tv3h Год назад

    I am so glad I found this channel

  • @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❤

  • @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

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

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

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

    Amazing explanation Ma'am. Thank you.

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

    Mam ❤️ everytime u clear the concept 😊

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

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

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

    Great mam .You are good programmar & good teacher.

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

    Thank you very much.. I benefited a lot from this explanation

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

    tnq so much to clear my concept mamm i love your approach and teaching

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

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

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

    Your way of teaching is very inspirational to me mam

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

    Thanks mam ur teaching is nice i understood clearly 👍

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

    Khoob jio AAP. Mast padhaya bhyi. Claps...

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

    Awesome explanation. Just speechless.

  • @keishamdevson9217
    @keishamdevson9217 11 месяцев назад

    Thank you ma'am for clearing all my doubts...😀😃

  • @RahamathunnisaSk
    @RahamathunnisaSk 3 месяца назад

    Your teaching is awesome 👏👏

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

    Thanks you so much. You cleared my doubt.

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

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

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

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

  • @souvikroy3584
    @souvikroy3584 3 месяца назад

    Thank you so much mam
    Now c is more clear to me ✨

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

    Thnks mam proud of you..
    Keep it up 👆

  • @Lokesh-sc6dw
    @Lokesh-sc6dw 2 года назад

    Mam your explanation was excellent and keep going on..

  • @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.

  • @AjayKumar-kh2qo
    @AjayKumar-kh2qo 3 года назад

    mam your teaching concept is so good. 🙏🙏🙏

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

    Thank you for such meaningful videos ma'am

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

    Very well explained...loved it ...thank u

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

    Thank you for clear explanation. 👌👍

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

    Understood completely thankyou so much 😌😊♥

  • @bhanureddy1232
    @bhanureddy1232 3 года назад +127

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

  • @sanjeetapurva897
    @sanjeetapurva897 3 месяца назад

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

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

    Ma'am lecture was awesome and i understand everything

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

    thank u for this grate lectures .... ahmed from Iraq