1605. Find Valid Matrix Given Row and Column Sums | Greedy | With Proof

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

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

  • @ARYANMITTAL
    @ARYANMITTAL  4 месяца назад +3

    For Future, do watch end 30sec ❤
    Lets connect on Twitter - X Twitter : x.com/aryan_mittal007

  • @jyotikushwaha6247
    @jyotikushwaha6247 4 месяца назад +9

    bro you are inspirational.....you are of our age still you inspire us so much.......just wanted to ask kitne ghante kaam krte ho aap?/

  • @naamnhibataunga5897
    @naamnhibataunga5897 4 месяца назад +6

    nice brother .. i was thinking of using backtracking as it is similar to sodoku solver.. but then i realized numbers can be same.. so it is better to apply greedy....
    i believe leetcode confused me with different no. of solutions for the same problem.. now this question seems more like an easy one..

  • @ayaaniqbal3531
    @ayaaniqbal3531 4 месяца назад +1

    Nice Aryan.Now your explanation is becoming more understandable

  • @italk-gj5kk
    @italk-gj5kk 4 месяца назад +1

    thanks wonderful explanantion

  • @guptamusic-dy5it
    @guptamusic-dy5it 4 месяца назад

    i found your vedio more understandable than others

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

    Aryan Thank you very much for explanation with understandable examples ! =)

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

    Thank You for this well explained solution Aryan..

  • @MICHAELMURITHI-y7y
    @MICHAELMURITHI-y7y 4 месяца назад

    Thanks man

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

    lets goo ma mann!! nice solution!

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

    Ek number

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

    super 😅😅

  • @mrityunjoybarman9098
    @mrityunjoybarman9098 4 месяца назад +1

    I was trying to place 1 in rows and the last column the ramaining and for the last row the remaining colSum

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

      I had a similar thought of placing zeros and then the remaining at the last row, then I thought of taking care of cols also :)

    • @mrityunjoybarman9098
      @mrityunjoybarman9098 4 месяца назад +1

      @@codingkart245 So confusing stuff bro

    • @codingkart245
      @codingkart245 3 месяца назад

      @@mrityunjoybarman9098 true!