Lec-15: Binary Search in Data Structure by

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

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

  • @LaizaShah
    @LaizaShah 2 месяца назад +3

    She is an Amazing person.
    The reason behind using 1 over 0 index is simplicity.

  • @raviprakashsrivastava9370
    @raviprakashsrivastava9370 3 года назад +25

    Good content maam!!!
    Excellent teaching with focus and good example and simple explanation 👍🙏

  • @iyi2800
    @iyi2800 Год назад +4

    we need a teacher like u.. this easy explanation will help a lot in my coding, I was stuck in a 2d binary search but now after my exam I'm gonna solve it.. thank u so much and keep it up.

  • @Anirudh_Srinivasan
    @Anirudh_Srinivasan 2 года назад +9

    Thank you ma'am 😊❤️. Understood the concept

  • @vipulkumarpatel98
    @vipulkumarpatel98 Год назад +5

    thank you mam....your videos helped me in my IGNOU BCA exams !!

  • @swetagarg1324
    @swetagarg1324 3 года назад +9

    Arrays's indexing starts from zero ,by the way good delivery of bst

    • @oshniklife9661
      @oshniklife9661 3 года назад +6

      Itz a general Idea of data structure given by mam..itz depends upon language that from where array index will be started it either from 0 or 1..

    • @ChandanKumar-yz5xe
      @ChandanKumar-yz5xe 2 года назад

      = lagado 1 se start hojaiga

  • @shorthandtricks9643
    @shorthandtricks9643 3 года назад +19

    Being a computer science student. This lecture helped me alot.
    Thank you ma'am.

    • @Batmanishere1243
      @Batmanishere1243 6 месяцев назад

      Maqsad mtt Bhoolna Bhaijaan bss btech toh hota Rahega

    • @samarthtyagi1264
      @samarthtyagi1264 6 месяцев назад

      bhai jaan maqsad yaaad h na btech bhul jana prr maqsad nhi bhulna🙃

  • @vaibhavilohani3421
    @vaibhavilohani3421 3 года назад +36

    There are other topics like stack,heap,queue ,linked lists.and i can't find videos on those topics from your channel.Can you please upload them soon?

    • @89-yashgirme27
      @89-yashgirme27 Год назад +5

      Some of these topics are covered in DAA gate smashers playlist, check them out

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

    Thank you sooooooo much.. life savior

  • @harishkhilery7411
    @harishkhilery7411 4 месяца назад +1

    2:36 ma'am index value starting from 0
    Maybe Not 1
    Thank you ma'am you explain everything easyast ways 😊

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

    Naina Mam teaching style is same like varun sir. Hats off to both of you.

  • @priti5070
    @priti5070 10 месяцев назад +3

    Perfect understanding thank you.

  • @coding_with_bf
    @coding_with_bf 4 месяца назад +1

    Amazing mam ... It's understandable ❤❤❤❤

  • @umarfazli2059
    @umarfazli2059 9 месяцев назад +3

    Seriously the team of gate smashers is really giving a great videos of lectures simply ❤

  • @Hemlata-fh6vb
    @Hemlata-fh6vb Год назад +2

    Thanks mam 😊

  • @Terminator0512
    @Terminator0512 2 года назад +2

    Wowww nice lecture.... U r the lite version of Varun sir❤️👍

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

    Sir your teaching is best ,maam's teaching

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

    Very well explained, ek hi baar mai smjh aa jata hai... But please upload whole DS topic... Ab aage k topics kaha se padhe kaha milenge.. ?

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

    Thank you ma'am itni cute ma'am se padhne me to DS subject v cute LG Ra h 🙏😊🤗

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

    Mam you helped me lot...thank you

  • @hemanshuparmar5005
    @hemanshuparmar5005 Год назад +1

    Thanks a lot 🙏🏻😊 ma'am ....

  • @Nst109
    @Nst109 2 года назад +9

    Array 0 se start hoota he

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

    Please continue the series mam.

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

    Best explanation 🙏 mam please provide videos btech 3rd sem students exam preparation.

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

    Ma'am ki Jai ho

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

    I'm glad you have subtitles on your videos......btw thanks for notes

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

    ThankQ so much mam...
    Kindly prepare us for NIC scb post interview preparation...

  • @kunalsahu4818
    @kunalsahu4818 5 месяцев назад

    Easiest binary search I saw till now

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

    Thank you for explaining the algorithm in simple way ❤️👌👌 thankyou so much mam

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

    Great teacher

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

    Thanks you mam very good explanation
    To Exam

  • @ankushkanojiya3166
    @ankushkanojiya3166 9 месяцев назад +1

    Exam ke ek din pahale aapka video ...😊pass ho gaya

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

    Please discuss the time complexity of the algo. as you said in the ending of the video... great lecture tho.

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

    Thank u mam ,The way you explaining it is great for us ...

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

    Thank you so much. Keep up the good work.

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

    Varun sir and naina mam always best.

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

    With utmost respect, Varun sir aap hi padhaya karo please 🙏🏻. Expecting fresh playlist on data structure from Varun sir 🙏🏻

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

    Mam awesome explanation 👍👌👌

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

    there are topic are the most interest

  • @vivekmalviya3036
    @vivekmalviya3036 4 месяца назад

    Thank u mam ❤❤❤

  • @Lofi_Dreamscape11_11
    @Lofi_Dreamscape11_11 4 месяца назад

    Mam beginning or ending kabhi same position pr nhi hoti mam..
    Agr mid greater than hai to mid-1 ho jayega jisse usse phela element beginning pr mid point ban jayega or uska next position ending point bam jayega 6+7/2= 6 then completed 6 position pr hamara number find ho jayega........! 😊😊😊😊

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

    thanks mam it helped me a lot

  • @avinashthakur8973
    @avinashthakur8973 6 месяцев назад

    nice efforts

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 3 года назад

    Thank you maam!

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

    Very nice full watching from Pakistan

  • @SarthakDeshmukh07
    @SarthakDeshmukh07 28 дней назад +1

    We Need Sir Lecture On This Topic 😢

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

    Yar Mai aap logo ka regular viewer hu, aap log please data structure ki playlist complete kar dijiye

  • @Abubakar-fl2ku
    @Abubakar-fl2ku Год назад

    Thank you

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

    Thanks 😊

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

    please add all videos in a sequence,,,, hashing topic should be on the place of this video.

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

    00:03 Binary search is a search algorithm that works on sorted arrays.
    01:11 Binary Search in Data Structure explained
    02:17 Binary search involves finding the index of a specific element in a sorted list.
    03:38 Binary search algorithm explained
    04:44 Binary search in data structure
    06:35 Binary search involves repeating a process to check if an element is present or not.
    08:03 Binary search involves comparing the item with the middle element and adjusting the search range accordingly.
    09:09 Binary search is a search algorithm with time complexity

  • @priyanshkanwar8599
    @priyanshkanwar8599 6 месяцев назад

    thanks

  • @Ankitsingh-zf4tf
    @Ankitsingh-zf4tf Год назад

    Thank

  • @user-vk1lq1kl5i
    @user-vk1lq1kl5i 11 месяцев назад +1

    🎶naina naina naina hain🎶

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

    super explain.

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

    Wonderful explanation!!

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

    Anurag bhai mast prediction

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

    Good work 👍

  • @mayurchaudhari148
    @mayurchaudhari148 Год назад +1

    Mam i think index of array start with 0 i can't understand why you start with 1.Is it optional that array start with 0?
    Btw your explanation is great.

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

      INDEXING OF ARRAY DEPENDS ON LANGUAGE YOU ARE USING SOME USES 1 AND SOME 0

  • @chetan873
    @chetan873 10 месяцев назад

    Kitni osm hai yaar ❤❤❤

    • @Islamkidunya77
      @Islamkidunya77 10 месяцев назад +1

      Ha yar ❤❤ osm tho hai

    • @chetan873
      @chetan873 10 месяцев назад +1

      @@Islamkidunya77 👍👍👍❤️‍🩹

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

    Good night ❤️ 😴 ma'am

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

    Well explain

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

    Best way to explain 🙏

  • @maywish_liaquat4363
    @maywish_liaquat4363 10 месяцев назад +3

    The index of array starts from 0 or 1?

    • @arsalankapde4857
      @arsalankapde4857 10 месяцев назад +1

      If u got it, please share me ur ans.

    • @Ayaan722
      @Ayaan722 10 месяцев назад

      ​@@arsalankapde4857it starts from 0

    • @Ayaan722
      @Ayaan722 10 месяцев назад

      0

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

    Kch smjh ni aya mjy.. sir varun k comparison m kch b ni h ye wse

  • @Entertainment-sh4ew
    @Entertainment-sh4ew 3 года назад +1

    maam please time complexity ko aur bhi acche se explain kariye

  • @Yogesh-v-s5d
    @Yogesh-v-s5d 6 месяцев назад

    Mam algo m loc=mid ki jagah loc==mid aayega sayad

  • @kunallabana7536
    @kunallabana7536 6 месяцев назад

    ma'am whay we use while loop in binary search and for loop in linear search

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

    mam please make a video on sorting programs

  • @techshivam15
    @techshivam15 Год назад +1

    index number should starts from 0 ma'am

  • @premchand6650
    @premchand6650 3 дня назад

    Please share notes in google drive or pdf.

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

    Excellent teaching mam, will be helpful in HTET computer science???

  • @tech.global701
    @tech.global701 2 года назад +1

    Index 0-8 tak hota mam

  • @coderdhruv
    @coderdhruv 6 месяцев назад +1

    mam index to 0 se start hota hai na...?

  • @madhuchhandamohanty
    @madhuchhandamohanty Год назад +1

    How did the end directly came to 6?

  • @Akela_londa123
    @Akela_londa123 4 месяца назад

    ma'am please write the code also, it will help in better understanding.
    I am not able to understand it like this.

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

    What an explanation 👌👌👏👏👏

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

    ⭐⭐⭐⭐

  • @ankurmahanta8612
    @ankurmahanta8612 Год назад +1

    Why do we take the floor(7.5)? not ceil(7.5)??

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

      As we are working in an integer type array, in the number 7.5, 7 is the integer part and .5 is the floating part/fractional part , so we have to neglect the floating part 0.5 and take the integer part 7.
      😊😊

  • @user-wb2dh5ij5p
    @user-wb2dh5ij5p 7 месяцев назад

    Tell men it's time complexity please?

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

    Even numbers?

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

    Mam first index is always zero

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

      Who ever liked my comment thankyou very much kyuke pehla index hamesha 0 hi hota hai

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

    Madam aik Loc liya apne unsuccessful search k liye jo minus one k barabr hai . aur Loc mid phir sy liya haii .

  • @Ankitsingh-zf4tf
    @Ankitsingh-zf4tf Год назад

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 thanks teacher

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

    Hello mam, what is the domension of the white board on which you are teaching?

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

    Ma'am please quick sort b aap krva do

  • @036sadulla2
    @036sadulla2 3 года назад

    Nice mam.but in 5th point you write =. But it is ==(equivalent).

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

      It's just an algorithm, not a code, so Mam used = instead of == , when you'll write the code then use ==

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

    array index starts from 0 then why it is written as 1

  • @SanketSharmasanket7317
    @SanketSharmasanket7317 4 месяца назад +1

    ok

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

    What will be the value of LOC value in both linear search and binary search algorithm if we start our index from 0.
    Mam please answer this question?

    • @shreyaskamath3483
      @shreyaskamath3483 Год назад +1

      LOC will be same (-1), it is just a default value used because the search may not always be successful but we still have to return a value stating that the search was unsuccessful

    • @DambarudharManasingh-ms9oq
      @DambarudharManasingh-ms9oq 9 месяцев назад

      Bro taught it simply😊

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

    Arrays should always sart from zero

  • @user-wd3mn2id2b
    @user-wd3mn2id2b 3 месяца назад +3

    Isme index number hi galat hai 😅

    • @LaizaShah
      @LaizaShah 2 месяца назад +1

      It is not wrong we take 1 to N
      And 0 to N-1 which is the same thing.

    • @babubhaiyafacts4361
      @babubhaiyafacts4361 Месяц назад

      ​@@LaizaShahyou're right but this type of things making confusion because when you prefer book and then you check it . book start this Que with 0 not with 1 . So I think this is not a great decision

    • @St_video-only
      @St_video-only Месяц назад

      ​@@LaizaShah haan

  • @aliaanshams9312
    @aliaanshams9312 4 месяца назад +1

    2:53
    Agar hm index 0 se start krty hain to 0+8/2=4
    Ye to wrong hojayega

    • @SiddharthGokharu-qq4vc
      @SiddharthGokharu-qq4vc 10 дней назад

      To index no. 4 par dekho vahi hoga

    • @aliaanshams9312
      @aliaanshams9312 10 дней назад

      @@SiddharthGokharu-qq4vc Ab to mein bhul bhi gya kis baray mein comment kya tha mein ne😂

  • @Vishnuchhalotra
    @Vishnuchhalotra Месяц назад +1

    तू क्या भा। तू क्या लुगाईहै ,gates masses, nainA Wadhwa SinglA 😅इसकी

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

    Ma'am next week's taget jaldi dijiye.

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

      Could you please provide me the link of telegram group of gate 2022

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

      @@tanvikaushik1627 @gatesmashersofficial

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

      @@The1var I am asking another group link in which sir gave assignment the name of the group gate2022 actually don't know how I left that group

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

      only admin ka send the invitation link. The link is not visible to me. i looked through the old videos i couldnt find it. They must have removed it you should try instagram send them message. Maybe that can help you.

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

      @@The1var ok thanks

  • @TrollCraze
    @TrollCraze 8 месяцев назад

    but in array staring is from 0

  • @devildynamo4038
    @devildynamo4038 4 месяца назад

    Agar 0 se start korte hay tab hamara 10 hota hay total index 10

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

    Jai shree Ram ❤️🇮🇳

  • @ProfitGuru_1716
    @ProfitGuru_1716 7 месяцев назад

    Index 0 se hota hai na ki 1 se

  • @thankyoupwandarvindarorasi3813
    @thankyoupwandarvindarorasi3813 8 месяцев назад

    ' 0 ' sa index start hota hana ma'am , 1 sa nahi. please solve my problem