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

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

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

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

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

  • @jyotikushwaha6247
    @jyotikushwaha6247 2 месяца назад +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 2 месяца назад +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 2 месяца назад +1

    Nice Aryan.Now your explanation is becoming more understandable

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

    i found your vedio more understandable than others

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

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

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

    Thank You for this well explained solution Aryan..

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

    thanks wonderful explanantion

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

    lets goo ma mann!! nice solution!

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

    Thanks man

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

    Ek number

  • @mrityunjoybarman9098
    @mrityunjoybarman9098 2 месяца назад +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 2 месяца назад

      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 2 месяца назад +1

      @@codingkart245 So confusing stuff bro

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

      @@mrityunjoybarman9098 true!

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

    super 😅😅