How to solve TWO Leetcode Hards in an interview
Автор: Coding with Minmer
Загружено: 2025-06-30
Просмотров: 8498
Would you pass an interview with 2 Hard Leetcode questions? Watch Minh try.
Use the code "minmer" for 20% off FAANG+ mock interviews: https://www.hellointerview.com/mock/s...
Specific Instructions (for promo code):
1. Go to https://www.hellointerview.com/mock/s...
2. Select a company
3. Select a role and level
4. Select type of interview (Coding, behavioral, system design)
5. Select a time
6. Put in the "minmer" promo for 20% off.
I wish you the best in your studies!
Timestamps:
00:00 Problem Statement (LC76 Minimum Window Substring Variant)
00:53 Clarifying Questions
02:10 Brute Force Approach
08:11 Optimal Approach
15:36 Code
21:01 Time & Space Complexities
22:02 Problem Statement (LC317 Shortest Distance from All Buildings Variant)
22:40 Clarifying Questions
23:18 Brute Force Approach (BFS from empty spaces)
26:28 Optimal Approach (BFS from houses)
33:53 Code
42:41 Bug
Follow us on social media:
Instagram: 📸 / codingwithminmer
Patreon: 🤝 / codingwithminmer
LinkedIn: 💼 / coding-with-minmer-0857b133a
Leetcode: https://leetcode.com/problems/minimum...
https://leetcode.com/problems/shortes...
GitHub:
https://github.com/CodingWithMinmer/C... (LC76 Minimum Window Substring)
https://github.com/CodingWithMinmer/C... (LC317 Shortest Distance from All Buildings)
More Context:
FAANG, mid-sized companies, and startups are asking more LeetCode-style puzzle questions every day, making it harder to stand out as the competition grows. With an increasing number of new graduates entering the software market and tech companies laying off developers while overworking those who remain, it’s a tough landscape. Take Meta, for example: they expect 2-3 months of intense study time, only to likely ghost you afterward. But this doesn’t mean we should be unprepared.
While LeetCode is a valuable learning resource, many developers focus too much on rote memorization. Others find themselves stuck in a vicious cycle, where they don’t study as efficiently as they could because they’re juggling multiple responsibilities. They have full-time jobs, personal commitments, or other obligations that limit the time they can dedicate to solving problems. It’s a grind. Unfortunately, most companies introduce their own twists or "variants" of common problems (e.g., 6-sum instead of 2-sum), which throw candidates off. Rephrasings of problems and follow-up questions are also common, so recognizing these variations and curveballs is crucial.
For those who don’t have the time to revisit LeetCode problems multiple times to solidify concepts, this channel covers the most frequently asked variants, rephrasings, and follow-ups. If you've seen these before, you’ll have a significant edge over your competitors. Remember, time pressure — especially at Meta — is intense, so speed is essential. Even with thorough preparation, interviewers may be unpredictable, but knowing the variants beforehand can drastically increase your chances of success.
We also walk through variants in mock interviews. Using the exact platform (CoderPad) that Meta uses, you’ll get familiar with the UI, settings, and overall experience. This is a 1-on-1 simulation of how Meta conducts and facilitates their interviews, so the goal is to avoid wasting time on the tool itself. Once again, time limits at Meta are a huge factor, so speed is critical.
That said, even with perfect preparation, interviewers might not always be in a good mood or may judge unfairly. The interview process has its power dynamics, but with insider knowledge, you’ll have done as much as you can on your end to secure a Strong Hire decision.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: