Search a 2D Matrix II | Live Coding with Explanation | Leetcode - 240

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

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

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

    We hope you all are enjoying our videos!!! Don't forget to leave a comment!!! Please like the video to support us!!!
    Questions you might like:
    ✅✅✅[ Tree Data Structure ] : th-cam.com/play/PLJtzaiEpVo2zx-rCqLMmcFEpZw1UpGWls.html
    ✅✅✅[ Graphs Data Structure ] : th-cam.com/play/PLJtzaiEpVo2xg89cZzZCHqX03a1Vb6w7C.html
    ✅✅✅[ January Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2wCalBcRcNjXQ0C6ku3dRkn.html
    ✅✅✅[ December Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2xo8OdPZxrpybGR8FmzZpCA.html
    ✅✅✅[ November Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2yMYz5RPH6pfB0wNnwWsK7e.html
    ✅✅✅[ August Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2xu4h0gYQzvOMboclK_pZMe.html
    ✅✅✅July Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2wrUwkvexbC-vbUqVIy7qC-.html
    ✅✅✅June Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2xIfpptnCvUtKrUcod2zAKG.html
    ✅✅✅May Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2wRmUCq96zsUwOVD6p66K9e.html
    ✅✅✅Cracking the Coding Interview - Unique String: th-cam.com/play/PLJtzaiEpVo2xXf4LZb3y_BopOnLC1L4mE.html
    Struggling in a question??
    Leave in a comment and we will make a video!!!🙂🙂🙂

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

    One of the excellent algorithm series so far. Well explained each example with diagrams. Good job.

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

    I got this in an interview and I bombed. I wish I had seen this video earlier ..Beautifully explained..

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

    instead of moving 1 cell at a time can we do some kind of binary search to discard multiple row/collums at once and further optimize this?

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

    SUCH A BEAUTIFUL EXPLANATION, THANK YOU!

  • @crisag.2698
    @crisag.2698 3 ปีที่แล้ว +2

    Your explanations are amazing! Thank you for making these videos.

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

    I needed that first hint then I got the algorithm. Thank you

  • @auto8ot644
    @auto8ot644 2 ปีที่แล้ว

    Best explanation of the search space reduction solution! Thanks for sharing.

  • @pranavsharma7361
    @pranavsharma7361 2 ปีที่แล้ว

    on point presentation

  • @JasbirSingh-kp4eu
    @JasbirSingh-kp4eu 3 ปีที่แล้ว +1

    Most underrated channel

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

    thank you maam

  • @gago3001
    @gago3001 2 ปีที่แล้ว

    love the diagram

  • @VikashSingh-uf1qr
    @VikashSingh-uf1qr 2 ปีที่แล้ว

    Really like this approach and explaination

  • @ankurjain8467
    @ankurjain8467 2 ปีที่แล้ว

    Just amazing explanation, now words.... and the best thing is visualisation,

  • @anvesh5377
    @anvesh5377 2 ปีที่แล้ว

    At first i applied binary search on each row which has n logm complexity. Now found very optimal method.

  • @wtfitcntbdiff
    @wtfitcntbdiff 2 ปีที่แล้ว

    Very good

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

    Great explanation. Thanks!

  • @karanmandveb-5818
    @karanmandveb-5818 2 ปีที่แล้ว

    I think time complexity would be O(n*m) in worst case

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

    Super! Way to go!!

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

    Awesome as always!

  • @AvinashKumar-ps4tw
    @AvinashKumar-ps4tw 2 ปีที่แล้ว

    Really good stuff ,

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

    Such a perfect explanation

  • @djlivestreem4039
    @djlivestreem4039 2 ปีที่แล้ว

    Amazing

  • @AmazingWorld-fw9oc
    @AmazingWorld-fw9oc 3 ปีที่แล้ว +1

    Great work.

  • @i.vigneshdavid1698
    @i.vigneshdavid1698 3 ปีที่แล้ว +1

    Thanks for the explanation

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

    well explained !

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

    Really really good!

  • @Nikita-hv5jm
    @Nikita-hv5jm 3 ปีที่แล้ว +1

    bext explanation....keep it up and thanks a lot

  • @realAB459
    @realAB459 2 ปีที่แล้ว

    Excellent explanation...Please continue making these kind of videos.

  • @samarthshiramshetty2711
    @samarthshiramshetty2711 2 ปีที่แล้ว

    Is there any Part 1 video?

  • @abheermehrotra329
    @abheermehrotra329 2 ปีที่แล้ว

    why is c = matrix[0].length ? why we have written 0 ??

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

    Awesome

  • @zn4798
    @zn4798 3 ปีที่แล้ว

    leetcode 74 is same as this question!

    • @praveennvs
      @praveennvs 2 ปีที่แล้ว

      no...there, the first element of the row is larger than the lasst element of the previous row..You do not have the constraint here

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

    Wow

  • @amitupadhyay6511
    @amitupadhyay6511 2 ปีที่แล้ว

    Why dont I come with such awsome tricks : (

  • @himanshupal2672
    @himanshupal2672 3 ปีที่แล้ว

    You didn't tell why we can't start from (0, 0) and (n - 1, m - 1)????