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

Поділитися
Вставка
  • Опубліковано 7 вер 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

КОМЕНТАРІ • 662

  • @DMphotoEditing
    @DMphotoEditing Рік тому +38

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

  • @JennyslecturesCSIT
    @JennyslecturesCSIT  5 років тому +735

    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 роки тому +110

    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 7 місяців тому +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 роки тому +134

    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.

  • @misturaojulari9707
    @misturaojulari9707 Рік тому +4

    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 🙏

  • @Subham_Lohan
    @Subham_Lohan Рік тому +10

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

  • @suryanshsrivastava1559
    @suryanshsrivastava1559 2 роки тому +11

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

  • @GrandTotalGamer
    @GrandTotalGamer 5 років тому +109

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

  • @sudarshan3965
    @sudarshan3965 5 років тому +174

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

  • @Aamir08
    @Aamir08 4 роки тому +28

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

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

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

  • @DASH_Book_Reviews
    @DASH_Book_Reviews 9 місяців тому +1

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

  • @DSBOYS-y3m
    @DSBOYS-y3m Місяць тому +1

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

  • @91-ritikjain36
    @91-ritikjain36 3 роки тому +6

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

  • @yasina63
    @yasina63 Рік тому +3

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

    • @fyonaye5156
      @fyonaye5156 10 днів тому

      @@yasina63 here I'm from Ethiopia

    • @fyonaye5156
      @fyonaye5156 10 днів тому

      Here I'm from Ethiopia

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

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

  • @KumarSwami-jo6uu
    @KumarSwami-jo6uu 4 місяці тому +7

    My HOD always tell us to watch ur videos 😅

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

  • @nainatandon2963
    @nainatandon2963 4 роки тому +13

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

  • @olwethuphakade6026
    @olwethuphakade6026 3 роки тому +5

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

  • @priyahuddar9628
    @priyahuddar9628 4 роки тому +8

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

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

  • @parasqadir2560
    @parasqadir2560 3 роки тому +3

    I just wanna to say, You are the best teacher in UA-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...

  • @saideep3047
    @saideep3047 3 роки тому +3

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

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

  • @user-dx2dq5su7u
    @user-dx2dq5su7u 10 місяців тому

    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

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

  • @Ravi20002
    @Ravi20002 2 роки тому +1

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

  • @ankitjoshi4785
    @ankitjoshi4785 4 роки тому +2

    Ma'am your teaching style is easily understandable thanks

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

  • @ARYAN_6565
    @ARYAN_6565 4 роки тому +3

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

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

  • @hetpatel7918
    @hetpatel7918 3 роки тому +2

    cant find a better explaination than this wow just amazing

  • @bluevinTV
    @bluevinTV 9 місяців тому +1

    Thank u mam from Coimbatore

  • @ImmaginationsHome
    @ImmaginationsHome 3 місяці тому

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

  • @aalsi_insan
    @aalsi_insan 4 роки тому +13

    beauty with a brain 😍🙌🏼

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

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

  • @bhanureddy1232
    @bhanureddy1232 4 роки тому +127

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

  • @KirtanPatel552
    @KirtanPatel552 Рік тому +2

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

  • @Ajinkya_Chirde_07
    @Ajinkya_Chirde_07 Рік тому +1

    best explanation mam👍

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

  • @arshkhan_pathan
    @arshkhan_pathan 3 роки тому

    Far Better than My professor.
    Thanks Mam

  • @Instagram.Status
    @Instagram.Status 3 роки тому +1

    Great i understand in one go..
    Thanku mam.

  • @shubham-pp4cw
    @shubham-pp4cw 4 роки тому +2

    Nice & Simple explanation ma'am

  • @58__tannurawat95
    @58__tannurawat95 4 роки тому +2

    Fantastic style and hardwork to explain ma'am

  • @ahmedalhaithami9456
    @ahmedalhaithami9456 Рік тому

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

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

  • @boyacharan3203
    @boyacharan3203 3 роки тому +2

    Excellent teaching mam
    Thank u for teaching

  • @vishalmodhave4712
    @vishalmodhave4712 Рік тому +1

    very impressive teachung

  • @firojtamboli1383
    @firojtamboli1383 2 роки тому +3

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

  • @sureshsurya2413
    @sureshsurya2413 2 роки тому +1

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

  • @jamesonlocke2762
    @jamesonlocke2762 3 роки тому +1

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

  • @MANISHKUMAR-ls8rr
    @MANISHKUMAR-ls8rr 3 роки тому

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

  • @suhitathakur7689
    @suhitathakur7689 4 роки тому +2

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

  • @krishna7893
    @krishna7893 4 роки тому

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

  • @aunghtwemaung2365
    @aunghtwemaung2365 3 роки тому +1

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

  • @LkopzTech
    @LkopzTech 4 роки тому +2

    Thanks. Very clear and helpful information and explanations.👍

  • @durgalucky9713
    @durgalucky9713 3 роки тому +2

    Thanks mam ur teaching is nice i understood clearly 👍

  • @smyakubsifat2339
    @smyakubsifat2339 5 років тому +3

    Your lectures help me a lot

  • @Shruti03115
    @Shruti03115 3 роки тому +1

    Understood completely thankyou so much 😌😊♥

  • @mziyandamngqibisa2985
    @mziyandamngqibisa2985 5 років тому +7

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

  • @Lokesh-sc6dw
    @Lokesh-sc6dw 2 роки тому

    Mam your explanation was excellent and keep going on..

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

  • @mathspulligal7460
    @mathspulligal7460 2 роки тому

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

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

  • @baluchaudhari2094
    @baluchaudhari2094 4 роки тому

    Nice explanation. Everyone can understand

  • @yasina63
    @yasina63 Рік тому

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

  • @palakolanupolireddy5492
    @palakolanupolireddy5492 2 роки тому

    Madam your doing excellent service to students . Thank you madam

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

  • @joanitarzzalwango6392
    @joanitarzzalwango6392 Рік тому +1

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

  • @Hotchap33844
    @Hotchap33844 4 роки тому

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

  • @chouhancreaters7289
    @chouhancreaters7289 Рік тому

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

  • @prodigyprayaas6285
    @prodigyprayaas6285 4 роки тому +7

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

  • @Tech_Insights_with_Saha
    @Tech_Insights_with_Saha 7 місяців тому +1

    Love from 🇨🇰

  • @user-jt7ov5tv3h
    @user-jt7ov5tv3h Рік тому

    I am so glad I found this channel

  • @shreeji9401
    @shreeji9401 Рік тому +1

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

  • @lastname7224
    @lastname7224 2 місяці тому

    love and respect from Bangladesh

  • @jatinkhanna6681
    @jatinkhanna6681 4 роки тому

    Excellent work mam,ap aise hi pdate raho humein humesha

  • @GiridharareddySaragada-nl3lm
    @GiridharareddySaragada-nl3lm 9 місяців тому +1

    U r explanation is awesome mam

  • @danisgadkari8053
    @danisgadkari8053 4 роки тому +1

    Thanks a lot !

  • @sanjeetapurva897
    @sanjeetapurva897 4 місяці тому

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

  • @subhayanbhattacharjee5641
    @subhayanbhattacharjee5641 4 роки тому

    Thanks mam.......understood completly.
    .......🙏🙏🙏

  • @nischaysingh
    @nischaysingh 4 роки тому +2

    Thanks you so much. You cleared my doubt.

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

  • @tayyabatayyaba5622
    @tayyabatayyaba5622 3 роки тому

    Great mam .You are good programmar & good teacher.

  • @rahulphillips1238
    @rahulphillips1238 4 роки тому +4

    Thank you thank you SOOO MUCH U HELPED SOO MUCH THANK U

  • @abiyzebene8482
    @abiyzebene8482 2 роки тому

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

  • @Nishant-wo8gm
    @Nishant-wo8gm 2 дні тому

    thankyou very much mam
    god bless you

  • @mustafaraza5743
    @mustafaraza5743 5 років тому +2

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

  • @pushpitkumar99
    @pushpitkumar99 3 роки тому +1

    Amazing explanation Ma'am. Thank you.

  • @AjayKumar-kh2qo
    @AjayKumar-kh2qo 3 роки тому

    mam your teaching concept is so good. 🙏🙏🙏

  • @FFLuckyGaming3.0
    @FFLuckyGaming3.0 Рік тому

    Thankyou ,thankyou, thankyou so much mam . I am very 🤩🤩🤩excited thankyou mam

  • @amaansaiyyad9644
    @amaansaiyyad9644 4 роки тому

    superb teaching and explanation is👌👌👌