39. Find median of a row wise sorted matrix | Brute force + Optimal + Code 🔥 | GFG | Love babbar 450

Sdílet
Vložit
  • čas přidán 23. 08. 2023
  • #amazon #google #microsoft #meta #facebook #dsa #dsalgo #gfg #leetcode #practice #faang #coding #code #matrix
    39. Find median of a row wise sorted matrix | Brute force + Optimal + Code 🔥 | GFG | Love babbar 450 DSA sheet
    Complete playlist 450 DSA: • DSA 450 solutions
    Matrix Playlist : • Matrix - 450 DSA
    Solution in C++ : github.com/bitnbyte101/450DSA...
    Your Queries
    matrix
    find median in a row wise sorted matrix
    find median of a row wise sorted matrix gfg
    find median of a row wise sorted matrix leetcode
    find median of a row wise sorted matrix love babbar

Komentáře • 17

  • @amanchauhan6235
    @amanchauhan6235 Před 6 měsíci +18

    thanks , i didnt get strivers explanation but understood yours.

  • @gulshanmathur3738
    @gulshanmathur3738 Před 9 dny +1

    Better than strivers

  • @aliksarkar2935
    @aliksarkar2935 Před měsícem +1

    thank you so much bro for such good explanation and solution, i am having a doubt, if the mid that we calculate using min and max, is it guaranteed that the mid will be present as an element in the matrix bcos in the end we are returing low which is getting calculated from mid.

  • @annagarg2567
    @annagarg2567 Před 5 měsíci +1

    chattis video dekhn k baad dhanka mila kuch ,Thanks a lot😊

  • @kavyabhatnagar716
    @kavyabhatnagar716 Před 5 měsíci

    Finally understood the intuition after giving this question so much time. Thanks a lot. 😊

  • @ritwik121
    @ritwik121 Před 10 měsíci +1

    bro whats the time complexity of binary search approach ?

    • @bitnbyte
      @bitnbyte  Před 10 měsíci +1

      We are applying binary search for each row so it would be Rlog(C)*log(range)
      In question range given was 2000
      So overall TC would be Rlog(C)

    • @ritwik121
      @ritwik121 Před 10 měsíci +1

      @@bitnbyte thanks bro

  • @deveshkumarrampraveshsharm9533
    @deveshkumarrampraveshsharm9533 Před 5 měsíci +1

    Loved the content and enjoyed you are on par with Striver ,Apna college and code with Babar
    Keep on going ,i am with you.

    • @bitnbyte
      @bitnbyte  Před 5 měsíci

      Thank you so much brother❤