No video

Valid Parentheses - Leetcode 20 - Stacks (Python)

  Рет қаралды 5,163

Greg Hogg

Greg Hogg

Күн бұрын

Master Data Structures & Algorithms for FREE at AlgoMap.io/
Code solutions in Python, Java, C++ and JS for this can be found at my GitHub repo here: github.com/gah...
Complete DSA Pathway Zero to Hero: • Data Structures & Algo...
Please check my playlists for free DSA problem solutions:
• Fundamental DSA Theory
• Array & String Questions
• 2 Pointers Questions
• Sliding Window Questions
• Binary Search Questions
• Stack Questions
• Linked List Questions
• Tree Questions
• Heap Questions
• Recursive Backtracking...
• Graph Questions
• Dynamic Programming (D...
My Data Science & ML KZbin Playlist: • Greg's Path to Become ...
Learn Python and Data Science FASTER at mlnow.ai :)
Support the content: / @greghogg
Follow me on Instagram: / greghogg5
Connect with me on LinkedIn: / greghogg
Follow me on TikTok: / greghogg5
Coursera Plus: imp.i384100.ne...
My Favorite Courses:
Data Structures & Algorithms:
- UCalifornia San Diego DSA: imp.i384100.ne...
- Stanford Algorithms: imp.i384100.ne...
- Python Data Structures: imp.i384100.ne...
- Meta Coding Interview Prep: imp.i384100.ne...
Python:
- UMichigan Python for Everybody: imp.i384100.ne...
- Python Mastery from MLNOW.ai: mlnow.ai/cours...
- Google IT Automation w/ Python: imp.i384100.ne...
Web Dev / Full Stack:
- Meta Front-End Developer: imp.i384100.ne...
- IBM Full Stack Developer: imp.i384100.ne...
- Meta Back-End Developer: imp.i384100.ne...
- John Hopkins HTML, CSS & JS: imp.i384100.ne...
- IBM DevOps: imp.i384100.ne...
Cloud Development:
- AWS Fundamentals: imp.i384100.ne...
- GCP Cloud Engineer: imp.i384100.ne...
- Microsoft Azure Fundamentals: imp.i384100.ne...
Game Development:
- Michigan State Unity Development: imp.i384100.ne...
- UColorado C++ for Unreal Engine: www.coursera.o...
SQL & Data Science:
- SQL by MLNOW.ai: mlnow.ai/cours...
- Python for Data Science by MLNOW.ai: mlnow.ai/cours...
- Google Data Analytics: imp.i384100.ne...
- IBM Data Science: imp.i384100.ne...
- IBM Data Engineer: imp.i384100.ne...
Machine Learning & AI:
- ML Mastery at MLNOW.ai: mlnow.ai/cours...
- ML w/ Andrew Ng: www.coursera.o...
- Deep Learning w/ Andrew Ng: imp.i384100.ne...

Пікірлер: 14
@GregHogg
@GregHogg Ай бұрын
Master Data Structures & Algorithms For FREE at AlgoMap.io!
@jamesholland6140
@jamesholland6140 4 күн бұрын
Dude the way you explain is really something!!!
@nexolec109
@nexolec109 Ай бұрын
i have a severe skill issue, my solution took 90 lines of code XD. thanks for the great explanation
@GregHogg
@GregHogg Ай бұрын
That's really impressive honestly 🤣
@chandlerkenworthy3185
@chandlerkenworthy3185 24 күн бұрын
I would note that you can add at the top a base case of if (len(s) % 2 != 0): return False
@anirbandas12
@anirbandas12 6 ай бұрын
How to do it without stack?
@bhaskarkukreti2272
@bhaskarkukreti2272 27 күн бұрын
With vector
@julieirwin3288
@julieirwin3288 5 ай бұрын
Excellent explanations! Thank you!
@GregHogg
@GregHogg 4 ай бұрын
You're very welcome, sorry for the slow response!
@user-yh9ln9mq2h
@user-yh9ln9mq2h Ай бұрын
its amzing to follow along and to understand how to actully solve it thankyou for that! but can u give me an advice on how can i myself think of solution and implement in code because no way i would have apprached the way do to a solution so can u give an advice on logic building or apporaching? thankyou
@GregHogg
@GregHogg Ай бұрын
If you watch enough of these solutions and practice it yourself, that gives the highest likelihood you'll be able to solve a new one :)
@ashraf_isb
@ashraf_isb 6 ай бұрын
thank you man
@FaberLSH
@FaberLSH Ай бұрын
Thanks!
@GregHogg
@GregHogg Ай бұрын
No problem!
Daily Temperatures - Leetcode 739 - Stacks (Python)
12:35
Greg Hogg
Рет қаралды 3,6 М.
Coin Change - Leetcode 322 - Dynamic Programming (Python)
15:27
Greg Hogg
Рет қаралды 4,5 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 61 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 46 МЛН
Min Stack - Leetcode 155 - Stacks (Python)
8:01
Greg Hogg
Рет қаралды 2,2 М.
Valid Parentheses | LeetCode 20 | Easy
6:28
Code And Coffee
Рет қаралды 17 М.
LeetCode 20. Valid Parentheses Solution Explained - Java
7:28
Nick White
Рет қаралды 77 М.
Merge Two Sorted Lists - Leetcode 21 - Linked Lists (Python)
9:41
Word Pattern - Leetcode 290 - Python
9:23
NeetCode
Рет қаралды 37 М.
Valid Parentheses | Leetcode
12:48
take U forward
Рет қаралды 190 М.
3Sum - Leetcode 15 - 2 Pointers (Python)
9:42
Greg Hogg
Рет қаралды 9 М.