r/leetcode • • Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

72 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 • • 39m ago

Discussion Google interview done, unsure about Googleyness

• 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 • • 2h ago

Discussion Google Application Engineer Intern 2027

3 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 • • 47m ago

Question Is this reject?

• 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 • • 6h ago

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

5 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 • • 11h ago

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

13 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 • • 22h ago

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

68 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 • • 1h ago

Question OA struggles/ doubts

• 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 • • 3h ago

Intervew Prep Paypal OA SDE

1 Upvotes

What does paypal OA include for sde1?


r/leetcode • • 4h 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 :(

42 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 • • 20h ago

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

13 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 • • 17h 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 • • 12h 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 • • 15h ago

Intervew Prep NVIDIA Applied AI Engineer – VLSI Design Interview: What to Expect?

3 Upvotes

Hey everyone,

I have an upcoming interview with NVIDIA for the Applied AI Engineer – VLSI Design position.

My background is in Electronics and Semiconductor Engineering and a master's in AI, and I currently work on AI/ML systems, primarily involving LLMs and agentic AI.

I have two 45-minute interviews scheduled. One includes a HackerRank link, and the other is with the hiring manager.

For coding preparation, I’ve been following NeetCode and have covered topics up to graphs (BFS/DFS).

I wanted to ask if anyone has interviewed for this role or a similar Applied AI/ML position at NVIDIA.

  • Does the HackerRank interview typically involve LeetCode-style questions, or can it be a mix of coding and technical discussions?
  • What difficulty should I expect — Easy, Medium, or Hard?
  • Do they focus more on DSA or practical Python coding for Applied AI roles?

  • What should I expect in the hiring manager round? Is it primarily a resume/project deep dive, AI/ML system design, or could there be coding as well?

  • Given the VLSI focus, how deeply should I prepare electronics and semiconductor design concepts?

Would really appreciate any insights from people who’ve gone through a similar interview process.

Thanks!


r/leetcode • • 16h 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


r/leetcode • • 6h ago

Discussion Google DSA Questions

0 Upvotes

Hey folks,

People who have recently given the G interviews, would you mind sharing the questions if not exactly broadly as far as you can remember.


r/leetcode • • 22h ago

Intervew Prep Day 54: DP is officially wrapped up, started Graphs from the fundamentals

8 Upvotes

Hey everyone,

I finished Day 54 today. The Dynamic Programming module is officially complete, and I shifted into Graphs.

I feel confident with most DP patterns now, though Partition DP still needs a dedicated revision cycle. My plan for revisiting DP is strictly focused on mastering bottom-up tabulation from memoization so I stop hitting recursion overhead limits, then looking at space optimization where it makes sense.

Today was all about resetting graph fundamentals from scratch:

  1. Representations & Traversal Basics: Revised adjacency lists, matrix representations, queue-based BFS, and recursive DFS.
  2. Number of Provinces: Standard connected components problem using a visited array and running DFS/BFS from every unvisited node.
  3. Number of Islands: Connected component traversal on a 2D grid, marking visited land cells using standard 4/8-direction exploratory DFS/BFS.

When I briefly touched graphs back in July, I leaned heavily on Disjoint Set Union (DSU) as a shortcut. Starting with core BFS and DFS this time around makes the fundamental traversals feel much more grounded.

I also noticed a clear pattern in my routine: having days off actually hurts my productivity because the lack of structure makes it easy to procrastinate, whereas workdays force me into a tight schedule. Building discipline on unstructured days is uncomfortable, but consistency is the only way forward.

See you guys tomorrow for Day 53!


r/leetcode • • 1d ago

Discussion Interview postmortem. Rejected

50 Upvotes

Recently interviewed at Microsoft and it went like this

Round 1: A hard LC problem that I had not encountered before. But was able to talk through and with few hints arrived at an approach

But made a blunder mistake in executing DFS instead of BFS. This was clearly execution mistake under pressure. But, later course corrected with hints and provided solution.

It was not perfect but arrived at one

Round 2: A standard system design problem. Had prepped for it and I believe I did well. Answered follow-ups and reasoned decisions. Interview was over 10 mins early.

Again clueless if it is positive or negative

Round 3: A coding round but interviewer said this will be more of OOD and we had a good discussion. This one went over time but I was confident that this one was positive

Behavioral questions across the rounds went well. Had stories and was able to answer follow-ups.

Got a rejection in 2 days. Is it due to that 1st round performance?Is the standard at this level is to write clean code with minimal hints? Recruiter is unreachable so left with no feedback.

Just wanting to know opinion from the group here and any suggestions for upcoming interviews.


r/leetcode • • 5h ago

Discussion What's one tool you wish existed that would genuinely make your work easier?

0 Upvotes

What’s one frustrating problem you face while working on a project that you wish a tool could solve?

It could be a repetitive task, a broken workflow, or something that unnecessarily wastes your time.

I'm looking to build an open-source AI tool that solves a real problem, not just another AI wrapper.

Reply with your biggest frustration. I'd love to build something genuinely useful around it.


r/leetcode • • 1d ago

Question Salesforce offer

7 Upvotes

Received Salesforce smts offer . Any inputs on hows the culture , stability, wlb.
Deciding if its good to jump ship for $80k usd tc increase from a stable job .
Current tc: 240k
Offer: 320k


r/leetcode • • 14h ago

Intervew Prep Pagerduty SRE interview

1 Upvotes

I have a pagerduty SRE interview coming up. This will be first my SRE interview and I am nervous. Does anyone have any insight into the technical rounds? Thanks!


r/leetcode • • 15h ago

Question What should I do before college coming from little experience

0 Upvotes

Hello! I'm an incoming freshman (Spring Start) at a CSRankings T20 school and was wondering if anyone had any advice on what I should be doing before my freshman year to best set me up to one day land a job in tech (optimistically FAANG but I bet everyone says that). My only experience in CS is AP Computer Science A, which I scored a 5 on, but I have no projects or out of school experience. During my time before college, should I focus on leetcode, neetcode, cs50x, projects, or something else? Any advice is greatly appreciated, I know I have a pretty weak CS background so far, but I really want to pursue a SWE career and am willing to put time and effort into whatever it is I have to do.


r/leetcode • • 1d ago

Tech Industry The Fools Who Dream

105 Upvotes

A year ago, I shared my journey after being laid off and my dream of someday working abroad.

Today, I'm happy to share that I finally made it.

A couple of months ago, I moved to London and joined a Finance company as a Senior Software Engineer. It's been around two months here, and sometimes it still feels surreal.

A few months before the move, I decided to update my resume because my Meta team-matching deadline was approaching. Since I was already updating it, I thought, why not apply to a few companies in London as well?

Meta was still in a hiring freeze, so nothing really moved there. But one of the companies I applied to got back to me.

Did the Phone Screen -> Smashed it -> Did the Onsites -> Smashed them -> My recruiter came back saying the feedback was really positive, but there might be a headcount issue -> Got the offer call a few days later (I remember smiling the whole time during that call lol).

It felt like an enormous weight had finally been lifted off my shoulders.

For the past three years, there was barely a day when I didn't check Levels.fyi for newly submitted compensation offers or scroll through Blind looking for posts about international relocations.

It felt like I had an obligation to see a very specific thing through.

I was finally free.

Before I end, I want to share something NiKo said after winning in Cologne that really stuck with me:

I think I am a prime example to never give up, okay? Never give up on your dreams, never give up on your life, okay? Keep believing, okay? You're going to achieve the things. It's going to be hard, it's going to be painful. But you will get it. You will f**king get it.