LeetCode 1541. Minimum Insertions to Balance a Parentheses String - Interview Prep Ep 88

Sdílet
Vložit
  • čas přidán 3. 10. 2020
  • ⭐ Shop on Amazon to support me: www.amazon.com/?tag=fishercod...
    ⭐ NordVPN to protect your online privacy: go.nordvpn.net/aff_c?offer_id...
    ⭐ NordPass to help manage all of your passwords: go.nordpass.io/aff_c?offer_id...
    Problem link: leetcode.com/problems/minimum...
    ⭐ Support my channel and connect with me:
    / @fishercoder
    Algorithm explained:
    We can use a Stack to keep track of the characters that we have iterated over; in the end, we'll check if the stack is empty or not before we return the final result.
    // TOOLS THAT I USE:
    ○ Memory Foam Set Keyboard Wrist Rest Pad - amzn.to/3cOGOAj
    ○ Electric Height Adjustable Standing Desk - amzn.to/2S9YexJ
    ○ Apple Magic Keyboard (Wireless, Rechargable) - amzn.to/36gy5FJ
    ○ Apple Magic Trackpad 2 (Wireless, Rechargable) - amzn.to/36ltimu
    ○ Apple MacBook Pro - amzn.to/30iSvKE
    ○ All-In One Printer - amzn.to/34etmSi
    ○ Apple AirPods Pro - amzn.to/2GpVYQf
    ○ My new favorite Apple Watch - amzn.to/2EIIUFd
    // MY FAVORITE BOOKS:
    ○ Introduction to Algorithms - amzn.to/36hxHXD
    ○ Designing Data-Intensive Applications - amzn.to/2S7snOg
    ○ Head First Java - amzn.to/2ScLDKa
    ○ Design Patterns - amzn.to/2SaGeU2
    Follow me on Github for more LeetCode solutions: github.com/fishercoder1534/Le...
    Support me on Patreon: / fishercoder
    My ENTIRE Programming Equipment and Computer Science Bookshelf:
    www.amazon.com/shop/fishercoder
    And make sure you subscribe to my channel before you leave!
    Your comments/thoughts/questions/advice will be greatly appreciated!
    #softwareengineering #leetcode #algorithms #coding #interview #SDE #SWE #SiliconValley #programming #datastructures

Komentáře • 15

  • @siddharthgupta848
    @siddharthgupta848 Před 3 lety +5

    hi, please continue making leetcode videos daily on a regular basis, u are doing a great job

    • @FisherCoder
      @FisherCoder  Před 3 lety +1

      I will try my best, thanks for your kind words! Cheers!

  • @animeshjaiswal3878
    @animeshjaiswal3878 Před rokem +1

    Thanks for the so smooth and calm explanation.. each step get fitted on my mind..

  • @fernieqin90903
    @fernieqin90903 Před 5 měsíci +2

    recently got asked with this problem i used a similar approach (almost identical)

    • @zuccca
      @zuccca Před 4 měsíci

      which company?

  • @shashankjoshi4884
    @shashankjoshi4884 Před 3 lety +2

    Great video . One of the best explanations I have seen .

  • @prashanthmg676
    @prashanthmg676 Před 3 lety +2

    Great explanation Thank you

  • @poorpanda9033
    @poorpanda9033 Před 11 měsíci

    Thank YOU

  • @vishalplayzz2580
    @vishalplayzz2580 Před rokem +2

    too good

  • @KD-xi9wu
    @KD-xi9wu Před 3 lety +1

    please make a video on Minimum Insertion Steps to Make a String Palindrome -1312 th problem on leet code