Longest Valid Parentheses | LeetCode 32 | Theory + Python + Java

preview_player
Показать описание
This video is a solution to LeetCode 32, Longest Valid Parentheses. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python and Java.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

Time stamps:
0:00 Question Explained
3:22 Solution Explained
14:07 Time and Space Complexity
14:44 Python Code
16:50 Java Code

Code:

More leetcode questions solved:
Рекомендации по теме
Комментарии
Автор

Best explanation of this problem on the internet!

rnoro
Автор

Dude, you have no idea how helpful this is for me to prepare for my coding interview! Thank you so much !

dallas
Автор

Thank you so much for this video. I clearly understood the stack solution.

abishekbaiju
Автор

Really good explanation..found useful..keep doing videos of this kind...

VishnuK-fyhr
Автор

Amazing, great solution. Highly helpful!!!! Keep making videos!

vicentej
Автор

Wow, it's an amazing video! been a while since you uploaded. Keep it up!!

ishayadav
Автор

Nice video. one suggestion, add more hash tags in video description links. So, it will filter in top of list during youtube search.

MrKishorebitta
Автор

dude. can you explain number of islands, leetcode 200

Liteship