Google & Meta Coding Interview with Ex-Engineer ๐
Join a mock coding interview with a former Meta engineer tackling real questions from Google and Meta. Perfect prep for your tech interview!

Sajjaad Khader
42.9K views โข Feb 18, 2026

About this video
In this video, I host a real mock coding interview with a former Meta software engineer using an actual question asked at Google and Meta.
๐ JOIN MY TECH COMMUNITY: SWE LAUNCHPAD
Inside, you'll learn How to break Into tech with practical resources, job prep guidance, and real industry insights you wonโt find in school.
โ https://swelaunchpad.com
โ๏ธ TECH NEWSLETTER
Discover the latest tech trends shaping the industry, unlock career tips, and access exclusive resources to stay competitive in tech.
โ https://sajjaad.substack.com/
๐ฃ๏ธ INVITE ME TO SPEAK AT YOUR EVENT
โ https://forms.gle/p38f7Jqt7FjYWtYU7
๐งโ๐ป LEARN TO CODE
Learn to code with bite-sized projects and an AI-bot to help answer your queries. I recommend you start with their python module, then check out java and javascript.
โ https://coddy.tech/ (It's FREE, but you can use the code SAJYT for 20% off of premium features!)
โฌ๏ธ MY OTHER SOCIALS:
๐ธ Instagram: / https://www.instagram.com/sajjaad.khader/
๐ฑ TikTok: / https://www.tiktok.com/@sajjaadkhader
๐ My website: https://sajjaad-s-site.thinkific.com/...
TIMESTAMPS
0:00 - Intro
0:39 - Mock interview begins
1:04 - The actual Meta/Google interview question
1:36 - What makes a parenthesis string valid?
2:25 - Initial approach & intuition
3:42 - Identifying edge cases
4:08 - Why we need a stack
5:14 - Step-by-step dry run example
7:05 - Time & space complexity breakdown
8:32 - Coding the solution in JavaScript
10:54 - Why triple equals (===) matters
12:51 - Handling invalid closing parentheses
14:14 - Fixing dangling opening parentheses
16:41 - Returning the final string
18:08 - Testing edge cases
20:01 - Multiple valid outputs explained
๐ JOIN MY TECH COMMUNITY: SWE LAUNCHPAD
Inside, you'll learn How to break Into tech with practical resources, job prep guidance, and real industry insights you wonโt find in school.
โ https://swelaunchpad.com
โ๏ธ TECH NEWSLETTER
Discover the latest tech trends shaping the industry, unlock career tips, and access exclusive resources to stay competitive in tech.
โ https://sajjaad.substack.com/
๐ฃ๏ธ INVITE ME TO SPEAK AT YOUR EVENT
โ https://forms.gle/p38f7Jqt7FjYWtYU7
๐งโ๐ป LEARN TO CODE
Learn to code with bite-sized projects and an AI-bot to help answer your queries. I recommend you start with their python module, then check out java and javascript.
โ https://coddy.tech/ (It's FREE, but you can use the code SAJYT for 20% off of premium features!)
โฌ๏ธ MY OTHER SOCIALS:
๐ธ Instagram: / https://www.instagram.com/sajjaad.khader/
๐ฑ TikTok: / https://www.tiktok.com/@sajjaadkhader
๐ My website: https://sajjaad-s-site.thinkific.com/...
TIMESTAMPS
0:00 - Intro
0:39 - Mock interview begins
1:04 - The actual Meta/Google interview question
1:36 - What makes a parenthesis string valid?
2:25 - Initial approach & intuition
3:42 - Identifying edge cases
4:08 - Why we need a stack
5:14 - Step-by-step dry run example
7:05 - Time & space complexity breakdown
8:32 - Coding the solution in JavaScript
10:54 - Why triple equals (===) matters
12:51 - Handling invalid closing parentheses
14:14 - Fixing dangling opening parentheses
16:41 - Returning the final string
18:08 - Testing edge cases
20:01 - Multiple valid outputs explained
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
42.9K
Likes
837
Duration
21:42
Published
Feb 18, 2026
User Reviews
4.7
(8) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.