Triangle | Live Coding with Explanation | Leetcode - 120

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • This video shows top down and bottom up DP.
    Get Discount on GeeksforGeeks courses (practice.geeks...) by using coupon code: ALGOMADEASY
    To support us you can donate
    Patreon: / algorithmsmadeeasy
    UPI: algorithmsmadeeasy@icici
    Paypal: paypal.me/algorithmsmadeeasy
    Check out our other popular playlists:
    Questions you might like:
    ✅✅✅[ Tree Data Structure] : • Tree Data Structure
    ✅✅✅[ Graphs Data Structure] : • Graph Data Structure
    ✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
    ✅✅✅[ January Leetcoding Challenge] : • January Leetcoding Cha...
    ✅✅✅[ February Leetcoding Challenge] : • February Leetcoding Ch...
    ✅✅✅[ March Leetcoding Challenge] : • March Leetcoding Chall...
    ✅✅✅[ December Leetcoding Challenge] : • December Leetcoding Ch...
    ✅✅✅[ November Leetcoding Challenge] : • November Leetcoding Ch...
    ✅✅✅[ August Leetcoding Challenge] : • August LeetCoding Chal...
    ✅✅✅[ July Leetcoding challenges] : • July LeetCoding Challe...
    ✅✅✅[ June Leetcoding challenges] : www.youtube.co...
    ✅✅✅[ May Leetcoding challenges] : • May LeetCoding Challen...
    ✅✅✅ Cracking the Coding Interview - Unique String: • Cracking the Coding In...
    Problem Link: leetcode.com/p...
    Code: github.com/Alg...
    If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful.
    #coding #leetcode #programminglife #programmingisfun #programmer #tech #software #codinglife #leetcode

ความคิดเห็น • 11

  • @AlgorithmsMadeEasy
    @AlgorithmsMadeEasy  3 ปีที่แล้ว +3

    We hope you all are enjoying our videos!!! Don't forget to leave a comment!!! Please like the video to support us!!!
    Questions you might like:
    ✅✅✅[ Tree Data Structure] : th-cam.com/play/PLJtzaiEpVo2zx-rCqLMmcFEpZw1UpGWls.html
    ✅✅✅[ Graphs Data Structure] : th-cam.com/play/PLJtzaiEpVo2xg89cZzZCHqX03a1Vb6w7C.html
    ✅✅✅[ February Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2wrfvII0eZQsPm-MZCmHodm.html
    ✅✅✅[ January Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2wCalBcRcNjXQ0C6ku3dRkn.html
    ✅✅✅[ February Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2wrfvII0eZQsPm-MZCmHodm.html
    ✅✅✅[ March Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2zH-YC5ZiptbAvw2QZkmyk9.html
    ✅✅✅[ December Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2xo8OdPZxrpybGR8FmzZpCA.html
    ✅✅✅[ November Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2yMYz5RPH6pfB0wNnwWsK7e.html
    ✅✅✅[ August Leetcoding Challenge] : th-cam.com/play/PLJtzaiEpVo2xu4h0gYQzvOMboclK_pZMe.html
    ✅✅✅[ July Leetcoding challenges] : th-cam.com/play/PLJtzaiEpVo2wrUwkvexbC-vbUqVIy7qC-.html
    ✅✅✅[ June Leetcoding challenges] : th-cam.com/play/PLJtzaiEpVo2xIPptnCvUtKrUcod2zAKG.html
    ✅✅✅[ May Leetcoding challenges] : th-cam.com/play/PLJtzaiEpVo2wRmUCq96zsUwOVD6p66K9e.html
    ✅✅✅Cracking the Coding Interview - Unique String: th-cam.com/play/PLJtzaiEpVo2xXf4LZb3y_BopOnLC1L4mE.html
    Struggling in a question??
    Leave in a comment and we will make a video!!!🙂🙂🙂

  • @SurajYadav-ve1tr
    @SurajYadav-ve1tr 3 ปีที่แล้ว +8

    Hi, in your bottom Up approach there is a mistake in Min() we have to take Min(10,6) but you guys have written (10,4) and same for the last row as well.

  • @mohammadumaidansari6617
    @mohammadumaidansari6617 3 ปีที่แล้ว +5

    You people are doing a great Job! More power to you !
    P.S : - Expecting to learn and grow with your help!

  • @gazizbekmursali6145
    @gazizbekmursali6145 ปีที่แล้ว +1

    there is a mistake at 3:32. Minimum is 18, not 21.

  • @patilashish
    @patilashish 2 ปีที่แล้ว +1

    Can you please explain why not take min of each row and add it to sum ?

  • @sahilgogna3393
    @sahilgogna3393 2 ปีที่แล้ว +1

    thanks

  • @nishantvaishla5752
    @nishantvaishla5752 2 ปีที่แล้ว

    why we take size -2

  • @soumitabiswas6834
    @soumitabiswas6834 3 ปีที่แล้ว

    It will be more helpfull if you provide c++ code also. Your explanations are good.

    • @gautamarora6556
      @gautamarora6556 3 ปีที่แล้ว +2

      int minimumTotal(vector& triangle) {
      for(int i=1; i