BS-25. Search in a 2D Matrix - II | Binary Search on 2D

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

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

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

    Please watch our new video on the same topic:th-cam.com/video/JXU4Akft7yk/w-d-xo.html

  • @monty_2969
    @monty_2969 ปีที่แล้ว +98

    Thanks for the awesome content ! Very crisp and systematic explainations :)

  • @stith_pragya
    @stith_pragya 10 หลายเดือนก่อน +2

    UNDERSTOOD...........Thank You So Much for this wonderful video...........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @AdityaKumar-be7hx
    @AdityaKumar-be7hx ปีที่แล้ว +27

    The amazing thing is I have solved this question before in the best TC in my interview and still learnt something new today. Thats why I never skip any video.

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

      what was your approach back then

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

      Really want to know how you solved it then

  • @thenikhildaiya.
    @thenikhildaiya. ปีที่แล้ว +11

    I already knew the both the solution but watched for my satisfaction and i learnt the reason behind choosing top rightmost element for starting of matrix in second solution.
    So, no matter you already know or not. Just watch videos. Who knows you will find something new!

  • @amiyancandol4499
    @amiyancandol4499 ปีที่แล้ว +50

    Want to thank you sir ❤️, your sde sheet and videos helped to grab an intern at Atlassian. Couldn’t be more thankful !!

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

      Hey bro are you in which semester?

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

      @@harshilpatel3205 6th Sem

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

      @@harshilpatel3205 6th semester

    • @dumpster-jackson
      @dumpster-jackson 7 หลายเดือนก่อน

      Can you guide me pls

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

      stipend? college?

  • @AdityaKumar-be7hx
    @AdityaKumar-be7hx ปีที่แล้ว +11

    Maybe its just me (most likely not) but the quality of videos is so great that I like them first and then watch them. I know the explanation would be great.

  • @a.qfacts744
    @a.qfacts744 ปีที่แล้ว +15

    Striver will be remembered as a legend for the Indian IT community.. He is amazing teacher and humble gay.

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

    The idea was worth it .
    Please continue the series............

  • @RajeshKumar._.16
    @RajeshKumar._.16 ปีที่แล้ว +1

    very crisp,very nice explanation

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

    Happy Teachers Day striver... You are the best teacher Today my life is changed and i am holding my dream company offer because of your videos, am always grateful to you. your teaching style is awesome.

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

      could i get a refferal for internship by chance? ive followed the playlist from the beginning till here and will continue to complete it!

    • @lakshyachhabra7758
      @lakshyachhabra7758 5 วันที่ผ่านมา

      @@randomtsareenalover9014 did you finish it?

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

    After a long wait .please striver consistently video upload kijiye please

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

    Hello Sir, Your teaching is awesome even a 10th class student can understand your videos completely

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

    Happy Teachers Day Sir/Bhaiya! Thanks for making our lives better and happier :)

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

    Understood! Such a great explanation as always, thank you very much for your effort!!

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

    i had done this before..so this approach i knew....coded it by myself....thanks bhai

  • @helloworld2054
    @helloworld2054 ปีที่แล้ว +9

    After a long time 🥵

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

    Understood,Thanks Striver for this amazing video.

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

    One full video on bit manipulation tricks and techniques please☝️

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

    that is the best leetcode solution video I have seen :)

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

    you are an absolute genius man!

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

    Thank you sir for your intense effort in making such great videos

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

    Bhaiya , your lectures are amazing , please increase the frequency of the lectures

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

    bhaiya aise hi aur topics ki bhi videos jaldi se please laate rho

  • @md.imrankhan6912
    @md.imrankhan6912 ปีที่แล้ว +1

    Thank You Mr. Legend

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

    Waiting for the videos pls complete the course ❤

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

    Understood Sir, very well explanation Sir, Thanks a lot for the video.😃

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

    Understood! Super awesome explanation as always, thank you very very much for your effort!!

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

    Striver! What's next after this amazing BS Playlist?

  • @JagadeeswarN-ur7of
    @JagadeeswarN-ur7of 3 หลายเดือนก่อน

    Great Explanation!! Thanks!!

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

    Nice trick + explanation + approach

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

    Understood! You are just awesome bhaiya ❣

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

    Sir,
    Please continue your solution videos for A-Z DSA course.

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

    Thank you so much sir for such a clear explanation

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

    This was so much fun!

  • @parthdeshwal4419
    @parthdeshwal4419 11 หลายเดือนก่อน +1

    very well explained sir!

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

    man this is so brilliant!!!

  • @Garvi271
    @Garvi271 15 วันที่ผ่านมา

    basically if target>[i][j] eliminate row else if t

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

    UNDERSTOOD! EXPLANATION TOOO GOOD😀❤

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

    Best explanations ever

  • @shivamkumar-hz7jt
    @shivamkumar-hz7jt ปีที่แล้ว +5

    bhaiya pls string aur linked list ke videos daal do

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

    Super awesome solution...!

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

    Great explanation

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

    Superb explanation

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

    Understood, thank you.

  • @JorawarSingh-n4s
    @JorawarSingh-n4s หลายเดือนก่อน +1

    thank you sir ji....

  • @VishnuKumar-vi8hh
    @VishnuKumar-vi8hh ปีที่แล้ว

    understood amazing it was just wonderful lectures

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

    understood !! very nice video.

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

    Understood✅🔥🔥

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

    Great video

  • @ArpanChakraborty-do6yz
    @ArpanChakraborty-do6yz ปีที่แล้ว

    hats off to you 😇😇

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

    Mindblown!!!

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

    Understood ❤❤❤❤❤

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

    u are amazing thop striver bhaiya

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

    Loved it❤

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

    God bless you bro

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

    Understood ❤

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

    Bhaiya which topic will come next ?.....what are upcoming plans 🤔🤔🤔🤔

  • @AmanKumar-qz4jz
    @AmanKumar-qz4jz ปีที่แล้ว +2

    sir make videos on bit manipulation

  • @music-loverFam
    @music-loverFam 6 หลายเดือนก่อน

    Understood🙂

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

    Understood 😀

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

    thank you so much bhaiya

  • @AbhishekBhattacharjee-j2m
    @AbhishekBhattacharjee-j2m ปีที่แล้ว

    Happy Teachers's Day Sir

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

    Solved myself❤

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

    15:09 understood

  • @SurajGupta-ti9eh
    @SurajGupta-ti9eh ปีที่แล้ว

    Understood👌

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

    happy new year ❤

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

    Understood!

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

    Bhaiya can you make next playlist on greedy algorithms

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

    thanks bhai!

  • @Learnprogramming-q7f
    @Learnprogramming-q7f ปีที่แล้ว

    Thank you Bhaiya

  • @Fe-ironman
    @Fe-ironman 3 หลายเดือนก่อน

    i did from another two ways both of my two ways are same but just a little tweak one gives TC of O(m+n) and another gives TC of O(logmxlogn) -- this is better TC incase input is long

  • @DeepakPatel-d5v
    @DeepakPatel-d5v 9 หลายเดือนก่อน

    Thansks a lot Bhaiya

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

    UNDERSTOOD;

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

    understood!!

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

    Amazing video. Could you tell which tool you are using in this video.

  • @PrashantSingh-qr3vn
    @PrashantSingh-qr3vn ปีที่แล้ว

    Got it sir

  • @SubhashKumar-bj5xd
    @SubhashKumar-bj5xd ปีที่แล้ว

    thank you sir

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

    Thanks

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

    tysm sir

  • @anonymous-t1n9g
    @anonymous-t1n9g 5 วันที่ผ่านมา

    cant we do binary search to find floor of the given number and directly jump to there instead of moving one by one step, like for every iteration we willdo binary search on row and update col variable and then do binary on that column and update row variable?... as this also moves in the same path but faster right?
    am i crct?

  • @UEC-AnkitaDas
    @UEC-AnkitaDas ปีที่แล้ว +2

    can you please upload egg dropping problem

  • @AbhishekYadav-rm4hw
    @AbhishekYadav-rm4hw ปีที่แล้ว

    Cover Fenwick tree bro!

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

    Why I can't see Steps 1 to 18 on A2Z DSA Course sheet on website? @Striver Please look into it, can only see step 19...

  • @the.Kilvish
    @the.Kilvish ปีที่แล้ว

    understood!

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

    Understood

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

    very nyc

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

    Plz upload a2z videos fast

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

    Hey @takeUforward, I think the TC is O(m+n-2). please correct me if I am wrong.

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

    Amazinggggggggggggggggggggggg

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

    understood.

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

    nice

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

    Wow!

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

    Superp explanation 🤍🔥

  • @kanakbanerjee7639
    @kanakbanerjee7639 8 วันที่ผ่านมา

    stand on top-right
    if left and below both smaller than target, move to below
    if left and below both bigger than target, move to left
    if left smaller and below bigger than target, move to left-below diagonally
    if left bigger and below smaller than target, not possible

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

    i love you brother

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

    Understood

  • @hackein9435
    @hackein9435 7 วันที่ผ่านมา

    O(m+n) vs nLog(m) or mLog(n) .

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

    is there any practical application of this algorithm ?

  • @sanjayp.m7008
    @sanjayp.m7008 7 หลายเดือนก่อน

    the better soln had o(n) + logm yeah, isnt it better than o(n+m)?

    • @Fe-ironman
      @Fe-ironman 3 หลายเดือนก่อน

      better soln had O(n) x log m not "+" that's why it's not optimal approach