Linear search vs Binary search

Поделиться
HTML-код
  • Опубликовано: 14 май 2019
  • This video explains the 3 basic and the most important differences between the linear search and binary search along with the differences in the way they handle their work and the time complexity of these algorithms. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)

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

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

    🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
    🔴 𝐂𝐡𝐞𝐜𝐤𝐨𝐮𝐭 𝐚𝐥𝐥 𝐨𝐮𝐫 𝐂𝐨𝐮𝐫𝐬𝐞𝐬: techdose.co.in/

  • @talhasafdar6391
    @talhasafdar6391 2 года назад +54

    I love Indian teachers the way they teach computing is far better than any other country, thanks for this video, I clearly understood the difference.

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

      wait til u find out about egyptian teachers

  • @gurashishanand3082
    @gurashishanand3082 4 года назад +42

    My university professor wrote a fucked up article about this , this video helped me a lot , thanks man !!!

  • @alperenbaytimur
    @alperenbaytimur Месяц назад +2

    I cant be the only one who is searching for indian teachers since they always explain everything faster and simpler which makes understanding the problems we have way easier, so yeah sir really thank you for this video, you have helped me greatly, I wish my teachers were half as good as you at explaining stuff

  • @soniamalik4929
    @soniamalik4929 3 года назад +23

    First tym listened to such a simple explanatory English acsent

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

      Thanks 😅

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

      @@techdose4u This is an awesome lecture

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

      at first i was just listening while going through the comment i get to know youa re correct .he explained so well in english that i didn't realise that he is teaching in english it look like he was teaching in hindi as it was very easy to understand

  • @NitishDiwakar
    @NitishDiwakar 3 года назад +16

    Best explanation of linear and binary search I found at youtube.

  • @manisharajbhar3894
    @manisharajbhar3894 4 года назад +11

    Thank you short and simple 👍👍

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

    you have a deep voice which suits a teacher and short and simple video thankyou man

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

    Thank you sir it's very helpful to me

  • @vukotisreenivasulu-xr7dh
    @vukotisreenivasulu-xr7dh Год назад

    Thanks for your explanation

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

    Thank you very much

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

    beautifully explained

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

    Thank you!

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

    To the point thanks

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

    Thanks so much sir ! Btw in which platform you demonstrated? Google classroom ?

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

    Thank you

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

    thank u .

  • @arv-aravind
    @arv-aravind 4 года назад +7

    Short and simple 👌👌👌👌

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

    Thank you so much ☺️

  • @ARUNKUMARC-yf3sw
    @ARUNKUMARC-yf3sw 2 года назад

    Thank bro

  • @bunnyff2970
    @bunnyff2970 5 месяцев назад +1

    Sir hats off 🫡

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

    can you please let me know which software for writing the content

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

      Wacom pro inkspace comes with Wacom pro

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

    Good teaching simple dimple

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

    Thank you :)

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

    How does 5 / 2 become 2, do you round up or round down. Also why would you still refer to indices 3 and 5 when the left array has been discarded already?

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

      HE SAID 5/2 IS 2 ATER REMOVING FRACTIONAL PART IF YOU WRITE 5/2 YOU WILL GET 2WHOLE 1/2 SO BY REMOVING THAT 1/2 WHICH IS FRACTIONAL YOU GET 2

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

      ​@@MACVXACEso its basically lowering- or rounding up to the lower value

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

      @@655bebeusgdbeueb4jdu yup that's what I mean but 2.5 will be round of and be 2

  • @user-ri5ft8pq6n
    @user-ri5ft8pq6n 3 года назад

    What do you mean by equal for number 4?

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

    What is the space complexity (worst case) of binary search
    ?

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

    Awesome

  • @Skhan-gq4bb
    @Skhan-gq4bb 8 месяцев назад

    C++ program in Turbo vs Visual Studio and also compare it to make a video also mention me

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

    Sir I have doubt sir you explained that binary search is lower index + upper index / 2 but in this explanation you take value of the lower index can you explain please am not got it

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

      Lower index was 0 so 0+5= 5 then he divide by 2 if lower index was 1 maybe then he would Divide 6 by 2

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

      However in other parts he add lower+upper

    • @super.PY14
      @super.PY14 Год назад +1

      Thats bcz the number ate in integer , when we divide a number in coding lang it gives value in lower rounding off unless specified some other way

  • @aaaaaa-yr6sq
    @aaaaaa-yr6sq Год назад

    So easy

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

    Average Case Time Complexity of Binary Search: O(logN)

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

      Correct

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

    brorther are you do this Americian people only english boy

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

    binary samajh main nahi aya

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

    Ap exam coming up

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

    .

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

    his voice is kindaaaa................hot?

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

    English sudharo sir

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

    Thank you!

  • @MohamedAshraf-bl2hq
    @MohamedAshraf-bl2hq 3 года назад +1

    Thank you