Better quality video in comment | Median in a row-wise sorted Matrix | GFG | Hindi | Problem Solving

Sdílet
Vložit
  • čas přidán 31. 07. 2021
  • Java Plus DSA Complete Placement Course:
    • Java and DSA Course Pl...
    Better Video and Audio quality of same video (Median of a row-wise sorted matrix):
    • Video
    Problem Statement:
    Given a row wise sorted matrix of size RxC where R and C are always odd, find the median of the matrix.
    Problem Link:
    practice.geeksforgeeks.org/pr...
    Company Tags:
    Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe
    Instagram Handle: (@shashwat_tiwari_st)
    shashwattiwari.page.link/shas...
    #ShashwatTiwari #coding​​ #problemsolving​ #leetcode​ #hackerrank​ #hackerearth​ #codechef​ #codesignal​ #algorithms​ #javaprogramming​ #sde​ #placement #programming

Komentáře • 65

  • @shashwat_tiwari_st
    @shashwat_tiwari_st  Před rokem +1

    Recreated same video with better sound and voice quality ❤
    czcams.com/video/aNIfGl1ZKQE/video.html

  • @DASWINKALIESRM
    @DASWINKALIESRM Před rokem

    underrated+ Best Algo explanation for this problem on entire youtube

  • @ayansrivastava731
    @ayansrivastava731 Před rokem +9

    excellent explanation dude. Striver really complicated this one!

  • @vishalplayzz2580
    @vishalplayzz2580 Před rokem

    too good bro have seen many videos this is da best explanation

  • @mohammadaftabansari6882

    thora confusing question tha but accha explain kiya aapne

  • @wullar2kanyakumari412
    @wullar2kanyakumari412 Před rokem +2

    It took me 5days, N videos to come to this video, But at last only this video made my Intuition clear, Explained in very simple way as it needs to be done. All I can say is Thankyou.

  • @JohnDoe-lf1jz
    @JohnDoe-lf1jz Před rokem

    this problem took a whole day until i watched this video.

  • @studyaccount794
    @studyaccount794 Před rokem +1

    Thanks! My left ear solved the problem.

  • @codding32world50
    @codding32world50 Před rokem +3

    THANKKKKK YOUUUUU.... you made it look so simple..i was stuck with this problem past 4 days>>> :))))))))))

  • @HARSHTHAKKAR-uq8kf
    @HARSHTHAKKAR-uq8kf Před rokem

    Best explanation of this question. You show entire thought process. Thank you.

  • @gautamtyagi8846
    @gautamtyagi8846 Před rokem

    best part is the explaining of intuition behind this algo. thanks a lot.

  • @SACHINSINGH-re5ft
    @SACHINSINGH-re5ft Před rokem

    best video

  • @aryanjaiswal7978
    @aryanjaiswal7978 Před 2 lety +15

    looked everywhere for the intution and finally you made it crystal clear , man you are underrated

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Před 2 lety

      Thanks brother 😇,
      also did you delete something, I got a notification that you asked something but I can't see the comment now..

  • @anushak1446
    @anushak1446 Před rokem +1

    intuition is explained well but explaining code was done poorly

  • @dhananjayjadhav7064
    @dhananjayjadhav7064 Před 2 lety

    You are great sir
    Such a great things you do

  • @mayurbansal4051
    @mayurbansal4051 Před 2 lety +1

    You made it look so simple

  • @rajarshimandal3235
    @rajarshimandal3235 Před 2 lety +2

    Great explanation 🙏

  • @ayushanand4530
    @ayushanand4530 Před rokem

    Thanks a Lot brother Completely Understood and Subscribed your Channel.

  • @soumya1713
    @soumya1713 Před 2 lety

    u give the intution that no one give .

  • @ciycodeityourself6152
    @ciycodeityourself6152 Před 2 lety +3

    finally a bigger board :>

  • @sujan_kumar_mitra
    @sujan_kumar_mitra Před 2 lety

    Very good explanation.

  • @avinav6687
    @avinav6687 Před 2 lety

    nice explanaition loved it:)

  • @Anurag-kp6wc
    @Anurag-kp6wc Před 3 lety +3

    Great explanation sir!
    Sir, I'm stuck in a problem that is " Kth smallest element in the sorted matrix ".
    Could you please make a video about this problem?
    I'll be highly grateful to you.

  • @sakshamsrivastava6280
    @sakshamsrivastava6280 Před 2 lety

    GREAT WORK MATE!

  • @AyushKumar-kb2ds
    @AyushKumar-kb2ds Před 3 lety +4

    Finally new white board

  • @anantmittal522
    @anantmittal522 Před rokem

    When the number of elements less than mid is equal to (n*m)/2, why are we doing l = mid+1 and not h = mid-1

  • @mriganksharma714
    @mriganksharma714 Před rokem

    my left ear has more knowledge than my right ear now

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Před rokem +1

      😂😂😂😂
      I am making java+dsa+Problem Solving complete series, usme yeh question included hai and better quality me hai...
      Tbtk ek solution hai merepass iss problem ka..
      "Reverse the earphones and then see this video again, knowledge will be balanced"😂😂

  • @rupalisharma2674
    @rupalisharma2674 Před rokem

    Pls can you make me understand 2 lines after ans+=l ......why we have checked this condition (ans

  • @aayushchauhan5528
    @aayushchauhan5528 Před rokem +1

    please improve your camera

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Před rokem

      Already changed. Watch the new video here. czcams.com/video/W-wLQkLZSWs/video.html

  • @aakash1763
    @aakash1763 Před 2 lety +1

    Great video but what is the time complexity?
    log(range) * r * log(c)

  • @oriogaming8142
    @oriogaming8142 Před 2 lety +3

    Bro but if 5th index element is also 5(instead of 6) then no of elements greater than equal to 5 will be 6 so 5 will be removed from the search space. DOnt you think we should use two function - 1) noOfElementsless(x) 2) noOfElementsequalto(x). I think this should give the correct answer. What do you think ?

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Před 2 lety +1

      I think you mean if elements are:
      1 2 3 3 5 5 6 9 9 right?
      Then also,
      How will 5 be removed, I mean we have two 5, in the array. Then one of those 5 will be the median right? So, what's your doubt in this 🤔

  • @AdityaDey424
    @AdityaDey424 Před 2 lety

    What is tha time complexity of your approach?

  • @ShubhamKumar-et7gx
    @ShubhamKumar-et7gx Před 3 lety +2

    bhiya mid element to 5 ha to app 6:23 me 4 kyu likh rhe??
    confuse ho rha main

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Před 3 lety +1

      4 is total number of elements divided by 2, that is 9/2 =4 , puri Video dekho smjh aa jaega. 5 is median.

  • @siddharthb2226
    @siddharthb2226 Před 2 lety +1

    🔥🙏

  • @anikkumarroy7403
    @anikkumarroy7403 Před 2 lety

    Why are we comparing count to (n*M)/2

  • @mordernmonk194
    @mordernmonk194 Před 2 lety +1

    bro please explain (low +high)/2 me ky galt hai jo low+(high-low)/2 likhte hai ...ye bhi (2+2=4)/2 =2 hi denga

  • @yashgupta6726
    @yashgupta6726 Před rokem

    How will we do if the no of element in the matrix are even??

  • @pulkitranjan4002
    @pulkitranjan4002 Před 2 lety

    I thought my earphones got screwed
    Please work on your sound quality

  • @ShubhamKumar-et7gx
    @ShubhamKumar-et7gx Před 3 lety +1

    class ka end wala braces me; nahi likhe?? kyu

  • @shashwat_tiwari_st
    @shashwat_tiwari_st  Před rokem

    This is a very old video, for better sound and camera quality DSA videos, learn from the below playlist!
    Java Plus DSA ( Java + DSA + Problem Solving )
    czcams.com/play/PLQ7ZAf76c0ZPVdhV1bAjFv0bQc1xHURzE.html

  • @deevanshuarora6681
    @deevanshuarora6681 Před 2 lety +1

    Not at all clear

  • @jayeshnayee6735
    @jayeshnayee6735 Před 2 lety

    Voice prblm

  • @shivakumarwarriors7964

    Sir padhane se pehle AGR ek bar ap video ki setting sahi se Kar lenge to voh zyada acha hoga , Varna ap sirf apni energy hi waste Karenge

  • @obitouchiha5082
    @obitouchiha5082 Před rokem

    abe bhai yaar

  • @shivanshupandey3637
    @shivanshupandey3637 Před rokem

    buy a microphone and recreate this video........😄

  • @insane2539
    @insane2539 Před 2 lety

    my left ear enjoyed the video