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

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 22

  • @andrejiskra3391
    @andrejiskra3391 7 місяців тому +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  7 місяців тому

      glad you feel that way

  • @kunalkheeva
    @kunalkheeva Рік тому +4

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

    • @nikoo28
      @nikoo28  Рік тому +2

      fingers crossed :)

  • @manojtate9604
    @manojtate9604 3 місяці тому +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 :)

  • @032_RishavDey
    @032_RishavDey 6 місяців тому +2

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

    • @nikoo28
      @nikoo28  6 місяців тому

      what will your approach be?

    • @032_RishavDey
      @032_RishavDey 6 місяців тому

      @@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  6 місяців тому

      @@032_RishavDey that is indeed smart.. 😄

    • @saikiran1426
      @saikiran1426 16 днів тому

      How

  • @unemployedcse3514
    @unemployedcse3514 3 місяці тому

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

  • @saikiran1426
    @saikiran1426 16 днів тому

    Super explanation 😊

  • @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

  • @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

  • @alirezaaramoun615
    @alirezaaramoun615 22 дні тому

    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?

  • @AkashYadav-di6kd
    @AkashYadav-di6kd 8 місяців тому

    Thank you very much, bhaiya.

  • @vivekkumaryadav9862
    @vivekkumaryadav9862 Рік тому

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