Longest Valid Parentheses | Simplest Intuition | Leetcode 32 | codestorywithMIK
codestorywithMIK
0:00 / 0:00
Longest Valid Parentheses | Simplest Intuition | Leetcode 32 | codestorywithMIK
17 269 просмотров · 7 дн. назад
codestorywithMIK
162 тыс. подписчиков
17 269 просмотров · 7 дн. назад
☕ Support codestorywithMIK (No Pressure)
Education here is 100% free and always will be.
If the content helped you and you'd like to support the channel with a coffee:
UPI: imammazhar4@ybl
--------------------------------------------------
Whatsapp Community Link : https://www.whatsapp.com/channel/0029...
Hi Everyone, this is the 71st video of our Playlist "Strings : Popular Interview Problems" by codestorywithMIK.
Today we will be solving a good problem on Strings : Longest Valid Parentheses | Simplest Intuition | Leetcode 32 | codestorywithMIK
Problem Name : Longest Valid Parentheses | Simplest Intuition | Leetcode 32 | codestorywithMIK
Company Tags : GOOGLE
My solutions on Github(C++ & JAVA) : https://github.com/MAZHARMIK/Intervie...
Leetcode Link : https://leetcode.com/problems/longest...
My DP Concepts Playlist : • Roadmap for DP | How to Start DP ? | Topic...
My Graph Concepts Playlist : • Graph Concepts & Qns - 1 : Graph will no m...
My Segment Tree Concepts Playlist : • Segment Tree | Introduction | Basics | Bui...
My Recursion Concepts Playlist : • Introduction | Recursion Concepts And Ques...
Trie Playlist - • Word Search II | Leetcode 212 | Detailed |...
Difference Array Technique: Concepts & Qns : • Introduction | What | How | Difference Arr...
My Line Sweep Technique Playlist : • Introduction | What | Why | Line Sweep Tec...
Meet In The Middle : Concepts & Qns : • Introduction | Meet In The Middle (MITM) |...
Binary Lifting : Concepts & Questions : • Introduction | Binary Lifting | DP On Tree...
Top K from Sorted Structures Pattern : Concepts & Questions : • Introduction | Top K from Sorted Structure...
Small Java Dopamine Videos : • Small Java Dopamine Videos | codestorywithMIK
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Intervie...
Instagram : / codestorywithmik
Facebook : / 100090524295846
Twitter : / cswithmik
Subscribe to my channel : / @codestorywithmik
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Video Summary :
Do a left-to-right pass tracking open/close counts (resetting when invalid), then a right-to-left pass to catch cases missed by the first pass (e.g., strings like "()(()" where a trailing valid segment gets cut short in the forward pass alone).
✨ Timelines✨
00:00 Introduction
00:09 Motivation
00:28 Problem Explanation
01:27 Thought Process
04:38 Open Close Count
12:56 Story Points
14:46 Important Case
22:53 Travelling (Other Approaches)
23:09 Coding it up
#MIK #mik #Mik
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #india #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #easyexplaination #interview#interviewtips #interviewpreparation #interview_ds_algo #hinglish #github #design #data #google #video #instagram #facebook #leetcode #computerscience #leetcodesolutions #leetcodequestionandanswers #code #learning #dsalgo #dsa #coding #programming #100daysofcode #developers #techjobs #datastructures #algorithms #webdevelopment #softwareengineering #computerscience #pythoncoding #codinglife #coderlife #javascript #datascience #leetcode #leetcodesolutions #leetcodedailychallenge #codinginterview #interviewprep #technicalinterview #interviewtips #interviewquestions #codingchallenges #interviewready #dsa #helpajobseeker #jobseekers #jobsearchtips #careergoals #careerdevelopment #jobhunt #jobinterview #github #designthinking #learningtogether #growthmindset #digitalcontent #techcontent #socialmediagrowth #contentcreation #instagramreels #videomarketing #codestorywithmik #codestorywithmick #codestorywithmikc #codestorywitmik #codestorywthmik #codstorywithmik #codestorywihmik #codestorywithmiik #codeistorywithmik #codestorywithmk #codestorywitmick #codestorymik #codestorwithmik