Triangle (LeetCode 120) | Easy tutorial | Bottom-up Top-down dynamic programming | StudyAlgorithms

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

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

  • @andrejiskra3391
    @andrejiskra3391 8 месяцев назад +3

    I think you structured your video very very well and explained the concepts and solutions perfectly. Timestamps were also very helpful. Thank you for creating this.

    • @nikoo28
      @nikoo28  8 месяцев назад

      glad you feel that way

  • @kunalkheeva
    @kunalkheeva Год назад +4

    Appreciate your work! Most underrated channel though! Keep posting.

    • @nikoo28
      @nikoo28  Год назад +2

      fingers crossed :)

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

    Your explanation was top-notch !

  • @mohammedilyas8824
    @mohammedilyas8824 2 года назад +4

    Great explanation sir,pls bring on some most tricky interview questions frequently asked

    • @nikoo28
      @nikoo28  2 года назад +1

      Sure…i am adding new problems every week :)

  • @MD_SAMEER___
    @MD_SAMEER___ 29 дней назад

    thank you so much man!
    you explained so well

  • @vivekkumaryadav9862
    @vivekkumaryadav9862 Год назад

    the way that u explain with example it help a lot to understand
    thanks sir

    • @nikoo28
      @nikoo28  Год назад

      that is so nice of you

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

    one vedio explains gist of dynamic programming and other concepts , thank you 😍

  • @saikiran1426
    @saikiran1426 Месяц назад

    Super explanation 😊

  • @leetcodebaby6680
    @leetcodebaby6680 2 года назад +1

    When you were explaining the problem, you left explaining after 2 rows when things really started becoming tricky. You left at the point when it was most needed.

    • @nikoo28
      @nikoo28  2 года назад +1

      I discuss 2 approaches in the solution, a top-down and a bottom-up approach. Does that help?
      Can you tell me the timestamp at which you struggled? I can help more.

  • @ganeshpatel3985
    @ganeshpatel3985 Год назад

    love the way you teach

  • @AkashYadav-di6kd
    @AkashYadav-di6kd 9 месяцев назад

    Thank you very much, bhaiya.

  • @032_RishavDey
    @032_RishavDey 7 месяцев назад +2

    Sir we can optimise the Space Complexity to O(N)

    • @nikoo28
      @nikoo28  7 месяцев назад

      what will your approach be?

    • @032_RishavDey
      @032_RishavDey 7 месяцев назад

      @@nikoo28 just have one dp array of size equal to N, and initialise it with values in last row. Then perform bottom up approach. So our answer is in dp of 0.

    • @nikoo28
      @nikoo28  7 месяцев назад +1

      @@032_RishavDey that is indeed smart.. 😄

    • @saikiran1426
      @saikiran1426 Месяц назад

      How

  • @alirezaaramoun615
    @alirezaaramoun615 Месяц назад

    I would like to know how the top-bottom approach can be applied. I attempted to apply it but ran into difficulties. Could someone please assist me?

  • @vivekkumaryadav9862
    @vivekkumaryadav9862 Год назад

    TC -> O(n^2)
    S.C -> O(n^2)