r/leetcode • • Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

71 Upvotes

The following changes have been made with r/leetcode:

  1. Media is no longer allowed in both posts & comments. This is to ensure that the quality of the content & discussions remain high.
  2. Moderation has been made stricter. Low quality & repetitive posts whose answers can be found within a simple search in this subreddit won't be allowed here.
  3. Automoderation has been set-up to automatically remove links & known promotions. Only leetcode links will be allowed from now on. To ask help with questions, you may use the code block.
  4. Automoderation has been set-up to remove Indian posts & Hindi comments. This is to ensure that r/leetcode remains an English only subreddit.

r/leetcode • • May 14 '25

Discussion How I cracked FAANG+ with just 30 minutes of studying per day.

4.7k Upvotes

Edit: Apologies, the post turned out a bit longer than I thought it would. Summary at the bottom.

Yup, it sounds ridiculous, but I cracked a FAANG+ offer by studying just 30 minutes a day. I’m not talking about one of the top three giants, but a very solid, well-respected company that competes for the same talent, pays incredibly well, and runs a serious interview process. No paid courses, no LeetCode marathons, and no skipping weekends. I studied for exactly 30 minutes every single day. Not more, not less. I set a timer. When it went off, I stopped immediately, even if I was halfway through a problem or in the middle of reading something. That was the whole point. I wanted it to be something I could do no matter how busy or burned out I felt.

For six months, I never missed a day. I alternated between LeetCode and system design. One day I would do a coding problem. The next, I would read about scalable systems, sketch out architectures on paper, or watch a short system design breakdown and try to reconstruct it from memory. I treated both tracks with equal importance. It was tempting to focus only on coding, since that’s what everyone talks about, but I found that being able to speak clearly and confidently about design gave me a huge edge in interviews. Most people either cram system design last minute or avoid it entirely. I didn’t. I made it part of the process from day one.

My LeetCode sessions were slow at first. Most days, I didn’t even finish a full problem. But that didn’t bother me. I wasn’t chasing volume. I just wanted to get better, a little at a time. I made a habit of revisiting problems that confused me, breaking them down, rewriting the solutions from scratch, and thinking about what pattern was hiding underneath. Eventually, those patterns started to feel familiar. I’d see a graph problem and instantly know whether it needed BFS or DFS. I’d recognize dynamic programming problems without panicking. That recognition didn’t come from grinding out 300 problems. It came from sitting with one problem for 30 focused minutes and actually understanding it.

System design was the same. I didn’t binge five-hour YouTube videos. I took small pieces. One day I’d learn about rate limiting. Another day I’d read about consistent hashing. Sometimes I’d sketch out how I’d design a URL shortener, or a chat app, or a distributed cache, and then compare it to a reference design. I wasn’t trying to memorize diagrams. I was training myself to think in systems. By the time interviews came around, I could confidently walk through a design without freezing or falling back on buzzwords.

The 30-minute cap forced me to stop before I got tired or frustrated. It kept the habit sustainable. I didn’t dread it. It became a part of my day, like brushing my teeth. Even when I was busy, even when I was traveling, even when I had no energy left after work, I still did it. Just 30 minutes. Just show up. That mindset carried me further than any spreadsheet or master list of questions ever did.

I failed a few interviews early on. That’s normal. But I kept going, because I wasn’t sprinting. I had built a system that could last. And eventually, it worked. I got the offer, negotiated a great comp package, and honestly felt more confident in myself than I ever had before. Not just because I passed the interviews, but because I had finally found a way to grow that didn’t destroy me in the process.

If you’re feeling overwhelmed by the grind, I hope this gives you a different perspective. You don’t need to be the person doing six-hour sessions and hitting problem number 500. You can take a slow, thoughtful path and still get there. The trick is to be consistent, intentional, and patient. That’s it. That’s the post.

Here is a tl;dr summary:

  • I studied every single day for 30 minutes. No more, no less. I never missed a single study session.
  • I would alternate daily between LeetCode and System Design
  • I took about 6 months to feel ready, which comes out to roughly ~90 hours of studying.
  • I got an offer from a FAANG adjacent company that tripled my TC
  • I was able to keep my hobbies, keep my health, my relationships, and still live life
  • I am still doing the 30 minute study sessions to maintain and grow what I learned. I am now at the state where I am constantly interview ready. I feel confident applying to any company and interviewing tomorrow if needed. It requires such little effort per day.
  • Please take care of yourself. Don't feel guilted into studying for 10 hours a day like some people do. You don't have to do it.
  • Resources I used:
    • LeetCode - NeetCode 150 was my bread and butter. Then company tagged closer to the interviews
    • System Design - Jordan Has No Life youtube channel, and HelloInterview website

r/leetcode • • 7h ago

Discussion Google interview done, unsure about Googleyness

14 Upvotes

I recently completed my Google interviews and wanted to get some opinions from people who have been through the process.

For the coding round, I feel reasonably okay.

The problem was basically a variation of Flood Fill(med-hard). I understood the problem, explained an optimized approach, and completed the full code around 1 to 2 minutes before the interview ended.

The interviewer reviewed it and said something like, "Looks good to me."

My only concern is communication.

The interviewer had a pretty strong accent, and there were a few moments where I had difficulty understanding exactly what he was saying. I asked him to repeat things a couple of times, and I’m worried I may have missed one or two hints or comments.

But I was still able to understand the actual problem, explain my approach, and complete the solution.

So I’m wondering, can this kind of communication gap affect the coding feedback even if the solution was completed correctly?

For the Googleyness round, I’m much more unsure.

The interview finished in around 30 minutes, and the interviewer asked a mix of behavioral and hypothetical scenario questions.

For the real experience-based questions, I tried to answer using STAR.

For the hypothetical questions, I didn’t force a STAR story. I explained what I would do, what factors I would consider, the trade-offs, and how I would try to reach a balanced solution.

So my main questions are:

Is STAR mandatory for every Googleyness question?

For hypothetical questions, is it okay to explain your reasoning and approach without giving a past STAR example?

If the answers are reasonable but not always in perfect STAR format, can that result in Lean Hire or No Hire?

How is the Googleyness round actually evaluated?

Is a Googleyness interview ending in around 30 minutes a bad sign?

And if the coding round went well but the Googleyness round felt more uncertain, can the overall result still be positive?

Would really appreciate thoughts from anyone who has gone through a similar Google interview process or knows how these rounds are evaluated.


r/leetcode • • 32m ago

Intervew Prep Google recruiter call tomorrow, Pretty anxious.

• Upvotes

So, I have 7 years of experience in Android, iOS, Flutter and React Native, I applied for Android SDK Developer, and I got GHA, which I passed two weeks back, today I got email from them, and I have tomorrow's availability.

I don't know what to expect, and I am pretty anxious and can't process anything!

Any tips would be helpful, Thanks.

NOTE : This is not a tech round, this is just a recruiter.


r/leetcode • • 5h ago

Intervew Prep Day 53: exhausted from poor sleep, but solved 3 core BFS graph problems

7 Upvotes

Hey everyone,

I finished Day 53 today. My sleep schedule has been completely out of sync lately, and staying up late to binge shows caught up with me today. My energy was drained both at work and during prep, but I made sure not to skip the daily reps.

I focused heavily on BFS patterns across all three problems today:

  1. Rotting Oranges: Classic multi-source BFS. You push all initially rotten oranges into the queue with time t = 0. With each step, you rot the adjacent fresh oranges, decrement the fresh count, and advance time. Checking remaining fresh oranges at the end cleanly gives the total minutes or -1.
  2. Flood Fill: Last time I tackled this, I rushed through a recursive DFS without fully absorbing the state transitions. Today, I implemented it using standard BFS from scratch. Taking the time to understand the traversal properly made the solution completely intuitive without looking at hints.
  3. Cycle Detection in Undirected Graph (BFS): Tracked each node alongside its immediate parent (node, parent). If you visit an adjacent neighbor that is already marked visited and isn't the current node's parent, you have encountered an alternate path—confirming a cycle.

Fixing my sleep routine is non-negotiable moving forward because showing up tired makes every concept twice as hard to process.

Heading to bed early tonight and continuing Graphs tomorrow.

See you guys for Day 52!


r/leetcode • • 6h ago

Intervew Prep Anyone interviewed or worked at Apple UK?

7 Upvotes

Hey everyone,

I have an upcoming interview with Apple UK for a software engineer role. Has anyone interviewed with them, especially in London or Cambridge?

Curious about what the interviews are like, whether they ask LeetCode-style questions or more role-specific stuff.

Also, if anyone works or has worked there, I'd love to hear what it's like. How's the work culture and WLB?

Thanks!


r/leetcode • • 10m ago

Intervew Prep Top 5 songs currently being played system design question

• Upvotes

I am looking for a solution for the system design question “Top 5 songs currently being played" GET endpoint for a Spotify type app with ~10M Users, with 1M users playing songs at any one time”. The solutions available online are for billions of events and not millions. The interviewer is looking for a simple solution without any out of the box solutions. How would you solve it? This is for a real time top 5 and not historic like past 1 week or 1 month or year.


r/leetcode • • 4h ago

Intervew Prep Amazon SDE New Grad (USA) - 4 Rounds (3 on Oct 20, 1 Virtual Bar Raiser on Oct 22)

2 Upvotes

Round 1 - LP + Coding (1 hour, in-person, Oct 20)

Started with about 15 minutes of LP questions covering tight timelines, improving existing systems, and going beyond my comfort zone. I used stories from my QA background and a patent I hold from my undergrad. The interviewer dug into how my manager reacted to one of my initiatives, which felt conversational and went well. The coding question involved designing a caching solution for a real-world scenario. I discussed the approach and time/space complexity.

Round 2 - LP + LLD (1 hour, in-person, Oct 20)

LP questions focused on ownership, short-term vs long-term fixes, and a time I couldn’t meet a deadline. I used stories from my QA experience. The interviewer was engaged and asked solid follow-ups. The technical portion was an object-oriented design problem. I got the core design working but ran out of time before finishing everything. I was able to explain extensions verbally. Not perfect, but I showed my thought process.

Round 3 - GenAI Discussion + Coding (1 hour, in-person, Oct 20)

First half was a discussion about a GenAI project from my resume, covering architecture, design decisions, and trade-offs. Felt like a conversation, not a whiteboard session. The coding question was a tree traversal problem. I started brute force, then optimized using a HashSet. Walked through the code with an example.

Round 4 - Bar Raiser (1 hour, virtual, Oct 22)

Entirely behavioral, no coding. Most of the round went well. The BR spent a long time on a debugging story from my QA days and asked very detailed follow-ups, and I was able to answer all of them. She also dug into my undergrad patent project and I handled that well. One fumble: on a follow-up about product prioritization, I reached for an analogy that didn’t hold up historically and she called it out. The core argument had already landed, but that moment wasn’t great.

Overall: Three rounds felt solid, one had a partial finish on the LLD problem, and one follow-up answer fell flat in the BR round. Waiting on the result now. The loop felt fair. Every interviewer gave me space to explain and asked genuine follow-ups rather than gotcha questions.


r/leetcode • • 38m ago

Intervew Prep Intuit Software Developer Co-op OA?

• Upvotes

Hey, I have the Intuit OA coming up for the Software developer co-op role and saw a few of you mention it’s one of the hardest you’ve done. Would anyone be open to sharing a bit about it?

  1. What platform was it on (HackerRank, CodeSignal, etc.) and how many questions / how much time?
  2. What difficulty level were the problems (LeetCode easy/medium/hard equivalent)?
  3. What topics came up most (arrays/strings, graphs, DP, SQL, system design, etc.)?
  4. Was it all coding, or were there MCQs, debugging, or SQL sections too?
  5. Was it more about speed or about handling tricky edge cases?
  6. Were hidden test cases and time/space complexity a big factor?
  7. Anything you wish you’d practiced more beforehand?

r/leetcode • • 8h ago

Discussion Google Application Engineer Intern 2027

4 Upvotes

Hey everyone, I completed Round 1 for Google Application Engineering Intern – Winter 2027
I followed up with the recruiter, and today I received an email asking me to book a 15-minute call to discuss my application status.
For those who received a similar 15-minute status call after Round 1, was it about moving forward to Round 2, rejection feedback, or a pending decision?
Also anyone cleared r2?


r/leetcode • • 7h ago

Question Is this reject?

2 Upvotes

I had an interview with google last week and after i followed up with the recruiter, he told me this "Thanks again for your patience and flexibilty with the logistical issues and rescheduling here. We finally got the feedback submitted. Please let me know when you had some time to discuss and I can give you a call." I got rejection feels from this message.

Is this means a rejection?
Thanks


r/leetcode • • 13h ago

Question What are the most important coding interview topics to prepare for an MLE role?

7 Upvotes

Hi everyone!

I'm preparing for a Machine Learning Engineer (MLE) interview and would appreciate some advice on which data structures and algorithms topics I should prioritize.

I understand that MLE interviews can vary quite a bit by company, but I'm curious about what people have actually encountered in technical interviews at major tech companies.

A few specific questions:

  • Most common topics: Which topics come up most frequently? Arrays/strings, hash maps, trees, graphs, BFS/DFS, dynamic programming, intervals, heaps, etc.?
  • Difficulty level: Are interviews typically focused on LeetCode Easy/Medium problems, or should I expect Hard problems as well?
  • MLE vs. SWE: Is the coding interview bar generally similar to that for Software Engineers, or do MLE candidates tend to get different types of problems?

I'm particularly interested in the general DSA / problem-solving portion of the interview, rather than ML theory, system design, or ML-specific coding.

I'd love to hear about your actual interview experiences, especially from people who have interviewed for or worked in MLE roles. Thanks!


r/leetcode • • 4h ago

Question Hey guys , are there any jobs in market or not for Senior frontend Roles???

0 Upvotes

I am just doneeee !!!!! Please be honest , I am losing it ,its been 8 months , WTF is this market ? is it just with me ?I am not getting any callls , its freaking me outttt


r/leetcode • • 18h ago

Intervew Prep Understand and recognize patterns, but fail to see the trick?

12 Upvotes

Hey,

I realized that I m quite good at coming up with the correct Data Structures and Patterns for the right questions, but I usually get stuck with understanding the exact trick. For example, rotate Array or 88. Merge Sorted Array I m usually able to recognized quite fast that it's two pointers and even have a right approach where I try on example cases in my head and my two pointer approaches work to a certain extent but fail on other example cases. The problem usually is that I'm not able to find the right trick.

E.g. for the rotate array question I didn't come up with reversing the whole array. For the Merge sorted array I didnt think about starting from the back instead of typical left to right pointer movements.

People always gotta learn the patterns and use them on unseen questions, but I feel no matter how many questions I solve even if I kind know the patterns i still get stuck on the actual trick of the question...

Any suggestions/help?


r/leetcode • • 5h ago

Intervew Prep Google WSE Interview

1 Upvotes

Hey everyone,
I have an upcoming interview loop for the Web Solutions Engineer role at Google and would really appreciate hearing from anyone who's interviewed for it recently.

A few things I'm curious about:
- How was the coding round? LeetCode-style DSA, or more practical web/JavaScript problems? What difficulty level?
- What did system design look like for this role? Classic large-scale distributed systems, or more web app / frontend-backend architecture?
- For the web tech and database round, what topics came up (browser internals, APIs, SQL, schema design, performance)?
- Any tips for the Googleyness and stakeholder management round? Good stories to prepare?
- Any resources you found especially useful?

Any advice or experiences would be hugely appreciated. Thanks in advance, and good luck to anyone else in the process!


r/leetcode • • 1d ago

Intervew Prep DFS vs BFS: When Both Work Equally Well, Which Do You Choose?

70 Upvotes

Suppose you're solving a graph problem where both DFS and BFS are equally valid, and both have the same time and space complexity. Neither approach has a specific advantage for that problem.

Which one would you instinctively choose IN PYTHON?

DFS

BFS

Must comment ur opinion 👇


r/leetcode • • 6h ago

Intervew Prep AWS SDE Intern OA

1 Upvotes

Hi, I just got the AWS SDE Intern OA (job ID: 10552937)

Any tips to prep, and details if anyone has already taken it?

Format:

Coding Challenge (2 problems, 1 LC & 1 AI Coding Assistant)
Work Simulation
Work Style Survey


r/leetcode • • 7h ago

Question OA struggles/ doubts

1 Upvotes

I have been going through the dsa sheet grind for the last couple months now( not to say I’m great by any means) but this week I had an OA with a big audit/tax consulting firm and it went horribly. Everywhere online it said to prepare for easy- medium focusing on arrays/maps etc but this problem has so many variables to take into account. Looked it up after it was a greedy algorithm problem? That needed simulation + arrays + hashmap + multiple arrays that needed to be sorted and string parsing. Probably easy for a lot of you devs but I just don’t understand how I can do better at these.

My Thought process :

- not enough time spent on leetcode
- not a deep enough understanding of c++
- possibly less time on leetcode more time understanding algorithms from dsa books?

Any suggestions of maybe more intensive way to prepare for these OA’s (other than neetcode) 😅


r/leetcode • • 10h ago

Intervew Prep Paypal OA SDE

1 Upvotes

What does paypal OA include for sde1?


r/leetcode • • 11h ago

Discussion Unsupported QR for leetcode premium

1 Upvotes

Hi all,

I am trying to purchase leetcode premium. There is no separate version to subscribe without enabling upto 10yrs AutoPay. I thought of proceeding for now and cancelling the Autopay later but, there is no option to Pay with card. Only UPI is available. And also, that is also giving me Unsupported QR error even after enabling international transactions.

Can anyone pls help me out here?


r/leetcode • • 1d ago

Question Not able to solve leetcode problems :(

51 Upvotes

I have solved 500+ leetcode problems over 8 months, still hardly able to solve a medium and sometimes not able to solve at all. Please drop your suggestions.


r/leetcode • • 1d ago

Question Really confused on why we don’t combine the two heaviest people possible

14 Upvotes

The problem:
You are given an array people where people[i] is the weight of the ith person, and an infinite number of boats where each boat can carry a maximum weight of limit. Each boat carries at most two people at the same time, provided the sum of the weight of those people is at most limit.
Return the minimum number of boats to carry every given person.
 
My solution:
Sort the array and always combine the two heaviest people such that the combined weight of both people is <= limit.

Actual solution:
Sort the array and take the heaviest person and lightest person in the bunch and combine them such that combined weight <= limit.

My question is we are trying to get the MINIMUM number of boats. So why would we not combine the heaviest people possible so as to minimize boats?


r/leetcode • • 1d ago

Intervew Prep Looking for a daily mock interview partner, Google L5 interview in 10 days

7 Upvotes

Gang, I have my Google L5 interview in 10 days and I’m looking for a prep buddy for daily 1-hour mock interviews. We’d take turns interviewing each other. It would be ideal if you also have a Google interview coming up soon.

Some background: I interviewed with Google in April 2025 and made it to team matching, but didn’t land a team because of location restrictions.

If you’re interested, comment your linkedin with your time zone and availability.

Edit: SWE role


r/leetcode • • 19h ago

Intervew Prep NVIDIA Senior AI and ML Software Engineer Interview Prep help

2 Upvotes

I recently receive email from NVIDIA for Senior AI and ML Software Engineer role. They just mentioned they would want to have an inperson round in HQ with no other details.

Can someone please help with sharing their interview experience (how many rounds, what do they look for ?/ what to expect in first round etc)

Please help


r/leetcode • • 23h ago

USA Google System Design - Team specific?

3 Upvotes

If I am interviewing for a specific role and the interviewer will be from the same org, will the system design question be specific to the team?

For example, if I interviewing with the databases org, will my system design be database internals focussed or will it be any generic system like an URL shortener? Any experiences from people who have been through the process would be very helpful. Thank you