r/leetcode • • Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

75 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 Gold Blast Bravo Popcorn Regret

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

Intervew Prep Worried about Interview

4 Upvotes

I’m having 8+ yoe working in a product company. I’m currently looking to switch my Job. I’m good at LLD and HLD as i have worked on those in my day to day work. But it’s been years since i have practised DSA. And when i try to solve any leet code problem it’s very difficult for me and I’m not able to think and solve effectively. I’m worried because every interview has DSA as the qualifying round.

I wanted to know is it normal for everyone and how do overcome this and crack the interview. How long will it take for the preparation because i’m not able to practice daily because of my hectic existing Job


r/leetcode • • 9h ago

Intervew Prep Apple SWE Intern Interview Advice | Hiring Manager Round

4 Upvotes

Hi everyone! I have an upcoming hiring manager interview for a Summer 2027 SWE internship at Apple. My recruiter mentioned that it will cover behavioral questions and technical knowledge, with no live coding.

I know Apple's interviews are team-dependent, but I'd love to hear about other people's experiences.

  • How technical was your hiring manager interview?
  • Were the questions mainly resume-based or focused on CS fundamentals?
  • What did the subsequent interview rounds look like?
  • What would you recommend focusing on during preparation?

Any advice would be greatly appreciated. Thank you!


r/leetcode • • 5h ago

Discussion SWE Intern Agoda OA – How many questions did you attempt today?

2 Upvotes

Hey everyone!

For those who appeared for the SWE Intern OA today:

How many questions were you able to solve?

How much time did you take to complete them?

I solved all 3

Let's discuss our experience and help each other out!


r/leetcode • • 1d ago

Intervew Prep Finally landed an SDE 2 role at Microsoft! A little reminder to keep going

132 Upvotes

After months of preparation, rejections, and questioning myself, I finally landed an SDE 2 role at Microsoft in Redmond, WA!
The interview process had 4 rounds:
● 3 rounds focused on DSA.
● 1 system design round.
Nothing extraordinary about my preparation, just consistency, solving problems regularly, revisiting concepts and not giving up even when things weren’t going my way.
If you’re currently preparing, stuck in the interview loop or dealing with rejections, please keep going. You don’t need to be brilliant every single day. Just show up, stay consistent and keep improving.
Eventually, things can fall into place. If I can do it, so can you! :)


r/leetcode • • 6h ago

Discussion How to start leetcode as a beginner ??

2 Upvotes

So I am a first year student i know intermediate python and sql and i want to start leetcode but don't know how to start and what should i know to solve problems

after college or in breaks i want to give my free time to leetcode so what should i do can anyone help me or guide please?


r/leetcode • • 5h ago

Question stripe integration round

0 Upvotes

I have my stripe integration round in a day

My chosen lang is js, I had a doubt if they allow to use external libraries like axios, or I'll have to use native fetch etc.


r/leetcode • • 17h ago

Intervew Prep MS CS grad on F-1, OPT clock about to start. OAs aren't turning into interviews, and I honestly can't tell whether I'm ready or fooling myself

7 Upvotes

Hi everyone,

I'm finishing my Master's in CS soon and I'm on an F-1 visa. My job search has kind of stalled and I could really use some honest advice, especially from people who've been through the same thing.

Where I'm at right now:

  • I've done 200+ LeetCode problems, mostly mediums on the common patterns like arrays, two pointers, sliding window and trees. I'm on graphs right now.
  • I'm getting some OAs and I think they go okay, but none of them have led to an actual interview. I don't know if I'm failing hidden test cases, if my solutions aren't good enough, or if I'm getting rejected for some other reason.
  • I've barely touched system design. I feel unprepared for it, and that makes me wonder if I'm even ready to interview.

To be honest, I'm not confident in what I know. Sometimes I feel like I don't really know anything and I've just been getting by. I always feel behind. Every time I go on Reddit or LinkedIn, someone has 500+ problems done, knows system design really well and has built some AI project, and I feel like I'm doing all of it halfway.

The bigger problem is that I don't know what to focus on. LeetCode, system design, AI stuff, side projects, applying, networking all feel important, so I keep switching between them and don't get far in any of them.

Once I graduate, my 90 days of allowed OPT unemployment start counting down, so every OA that goes nowhere stresses me out more. That probably doesn't help me do better either.

What I'm hoping to get advice on:

  1. For people getting past OAs right now, do companies expect a perfect solution that passes every test case? Or are they screening for resume or sponsorship after the OA? How can I tell which one is happening to me?
  2. For new grad / entry-level roles, how much does system design actually come up? Should I stick with LeetCode (finish graphs, then DP, then company questions) or start splitting my time?
  3. Do I need AI projects on my resume to stand out, or is that something to worry about later?
  4. How did you know you were ready to interview? I feel like I'll never feel ready.
  5. If you were in my position with the 90-day clock coming up, how would you plan the next 4–6 weeks? How much time on prep vs applying, how many applications a day, referrals vs cold applying, what kind of companies to go for?

Any advice or personal stories would really help. Thanks for reading.

TL;DR: MS CS student on F-1 who's done 200+ LeetCode problems. I'm getting OAs but no interviews, haven't done system design, and feel lost with the OPT clock about to start. Looking for advice on what to focus on and how to plan the next 4–6 weeks.


r/leetcode • • 13h ago

Question AI Assisted Coding Round, can you use chatbot to research answer to the "design decisions(reflection)" questions

3 Upvotes

Is it gonna be counted against you?

Im talking about something like the online assessments when you're facing a computer and not an interviewer (when you obviously have to speak what you already know)


r/leetcode • • 14h ago

Intervew Prep Day 16: late-night session wrapping up Merge Intervals, Merge Sorted Array & Missing/Repeating Number

2 Upvotes

Hey everyone,

I finished Day 16 today. After spending most of the day resting and catching up on sleep and YouTube, I finally sat down after midnight and worked through three classic array problems:

  1. Merge Intervals: Sorted the intervals by start time and merged overlapping ranges by updating the running end whenever currentStart <= prevEnd. When an interval does not overlap, you push the previous [start, end] pair and reset—making sure to push the final tracked interval once the loop finishes.
  2. Merge Sorted Array: Revisiting this from college made the optimal trick click right away: instead of merging from the front and shifting elements, start three pointers from the back of both arrays and place the larger values from the end of the first array backward in O(m + n) time and O(1) space.
  3. Find Missing and Repeating Number: I remembered the algebraic sum and sum-of-squares equations approach, which gets a bit messy with large numbers, so I grabbed a quick hint from a video for the XOR method. XORing the array elements with 1..N isolates missing ^ repeating, and splitting numbers by the rightmost set bit separates the two values cleanly without overflow.

Even starting past midnight, knocking out three solid problems kept the rhythm going.

See you guys tomorrow for Day 15!


r/leetcode • • 20h ago

Intervew Prep Python vs C++ for DSA preparation and Leetcode. Which is the best?

5 Upvotes

Probably a shitty old question, but asking again to know if there are recent changes in the answer. I'm already solving Leetcode problems in Python (just solved 50+), and today I saw some comments regarding interviewers don't allow Python and shit. So should I really study C++, just for dsa? I'm really running short of time, and have a lot to study. Is learning C++ really needed and worth it?


r/leetcode • • 18h ago

Discussion Where did I went wrong? | Mindbody/Playlist

3 Upvotes

Hello everyone,

TL;DR: Had three rounds at Mindbody/Playlist: DSA, System Design/API Design, and Debugging/PR Review. I felt the last two went well, but struggled with syntax during R1 because C++ wasn't available and I had to switch languages. Eventually passed 7/8 test cases. Got rejected after three days. Looking for feedback on where I might have gone wrong and what I could improve for future interviews.

I recently interviewed with Mindbody/Playlist. There were three rounds:

  1. DSA/Problem Solving
  2. System Design/API Design
  3. Debugging/PR Review

Round 1: DSA/Problem Solving

I was presented with a problem involving pre-written code for Number of Islands, which I had to debug.

I usually write code in C++, but since it wasn't available, I initially picked Java. After around 10 minutes, I switched to Python, where I couldn't remember the exact syntax. However, I explained the code and passed 7/8 test cases. The 8th test case was crucial, IMO. I explained the logic end to end, but I was short on syntax and couldn't get my code to compile to pass all 8 test cases in time.

Round 2: System Design/API Design

This was basically an API design round where I was presented with a problem and asked to design APIs for it.

I covered all the functional and non-functional requirements and designed the APIs, along with a high-level diagram and a low-level skeleton (methods and classes).

I also asked for feedback, as I have 1.5 YOE and am relatively new to system design interviews. This was only my third system design interview. The interviewer said I did well and covered everything he expected me to. So, I assumed this round went well.

Round 3: Debugging/PR Review

A message service was presented, which I had to debug and review, just as I would in a normal PR review.

I suggested some alternative approaches and recommended cleaning up the code and rewriting certain parts in a more principled way.

The interviewer asked me how we approach this in our day-to-day work. I explained how I usually debug and review code in my daily workflow, and the round was over.

I asked if he had any feedback for me, and he simply gave me some positive words without mentioning any areas of improvement.

Now, three days later, I received a rejection.

If anyone has interviewed with Mindbody/Playlist and got selected, where do you think I might have gone wrong, or what could I have covered better?

Personally, I think R1 is where I messed up. But then again, isn't having a choice of programming languages better for compatibility? If C++ had been available, I would have aced it in less than 10 minutes. I missed out only on the syntax, as the logic was clear within the first 10 minutes. I explained it and demonstrated it with examples.

I'd appreciate your opinions on this. I was somewhat expecting the outcome in hindsight, but I want to understand what I could have done better so I can improve in future interviews and similar scenarios.


r/leetcode • • 1d ago

Question Recruiter Call Before Technical Interview – What to Expect?

7 Upvotes

Hey everyone,

I have an upcoming technical interview at Amazon, and my recruiter reached out to schedule a 30 min call before the technical round.

What should I expect from this call? Is it just a prep call where they explain the interview format, technical topics, and Leadership Principles to focus on, or is it another screening round? Do they ask Leadership Principle-based behavioral questions during this call as well?


r/leetcode • • 23h ago

Question CAPGEMINI ADVICE

2 Upvotes

Hey people, Capgemini is coming for their round 2 of coding for our campus placements by dec 10.

I am here to ask for advice from people who have been placed in capgemini through campus or have given the coding round exam. I want to know what coding topics are mainly asked in this and what should I focus on to improve my chance of clearing it.


r/leetcode • • 1d ago

Intervew Prep 6+ YOE - How to prepare for Senior/Staff SWE interviews in the current US job market?

33 Upvotes

Hi everyone,
I have 6+ years of software engineering experience, including 4–5 months of full-time experience in the US, with the rest of my experience overseas.
My technical background includes:
Java, Python, microservices, and REST APIs
Backend engineering and distributed systems
Apache NiFi, Spark, Hadoop, and Iceberg
Kubernetes, AWS, and Argo Workflows
Data pipelines and scalable backend architecture
I’m currently targeting Senior/Staff Software Engineer roles and would appreciate some guidance:
Is targeting senior or staff-level positions realistic with my experience? How do US companies evaluate international work experience?
How should I prioritize interview preparation — DSA, system design, distributed systems, concurrency, database internals, practical coding, debugging, and behavioral interviews?
How important is LeetCode for senior/staff interviews? Is NeetCode 150 sufficient, or is solving hundreds of problems still necessary?
What books, courses, platforms, or resources would you recommend?
Given my background, should I also explore AI/ML infrastructure, data platforms, cloud infrastructure, or platform engineering?
Is a strong resume and LinkedIn profile enough, or do GitHub projects, open-source contributions, technical blogs, certifications, and personal portfolios significantly improve the chances of getting interviews?
How are experienced engineers getting interviews in this market? Are cold applications still working, or are referrals, networking, and direct recruiter outreach more effective?
If you had 2–3 months to prepare from scratch, how would you structure your preparation? What would you prioritize or avoid?
The current job market seems pretty brutal, and I want to make sure I’m investing my time in the right areas rather than blindly preparing everything.
I’d appreciate practical advice from senior/staff engineers, hiring managers, and anyone who has recently gone through the interview process.
Thanks in advance!


r/leetcode • • 1d ago

Discussion Google failed interview

14 Upvotes

Hello,

recently I had a round of online interviews, one technical one googliness. Recruiter said both went great.

I was invited for another round of interviews, this time 2 technical. The first one went bad. I have solved the problem, interviewer mentioned it can be done simpler, I fixed it. I mentioned the good complexity. Then there was a follow up. I have explained the brute force solution. Asked clarifying questions, explained complexity again. Then explained solution with best complexity. However interviewer mentioned that we can stick around with brute force solution since the input would be small. I didn't quite get what was expected, since I wanted to go in the most optimal solution direction instead of the less optimal. Proposed couple ideas how count and return the result that would definitely work, however it was not the idea interviewer was expecting. So from one side I have had ideas to solve it, I didnt quite get the idea how the interviewer wanted me to solve it, I didnt guess the expected scenario.
Next round went great, problem was very difficult, I wanted to give up when I heard it, but sticked around and have done it before the time.
I have a call next week with the news but Im very curious what will be the result. I have had 2 great technical rounds and 1 that was very weak, and good googliness round.

Do you think its straight rejection in this case?


r/leetcode • • 1d ago

Question PLS HELP: First ever OA, will scratch paper or reading aloud look suspicious?

16 Upvotes

I’m taking my first ever OA, and it’s proctored and due tonight. It’s the only OA I’ve received, and at a company I really want, so I really don’t want to mess it up.

When I practice LeetCode, I always have a blank sheet of paper next to me to write down important information, trace examples, and work through my thought process. Could looking down at the blank sheet of paper, away from my screen, to write get flagged? Would showing the blank paper and pencil to the camera at the beginning help?

I also noticed that I tend to read the problem aloud to myself a few times to understand it better. Could that make it seem like I’m talking to someone else in the room? Should I avoid doing that?

If any recruiters or people familiar with proctored OAs could weigh in, I’d really appreciate it. I might be overthinking this, but this is my only shot so far, and I don’t want to do anything that could mess this up for me.


r/leetcode • • 1d ago

Discussion Knight { what I learned }

2 Upvotes

2024 : 1474 rating

2026 : 1874 rating

500 easy

500 medium

100 hard

I used to get a very weird feeling when a new math topic come and I feel like I don't know these basics things

Now I do research in AIMl, even now new things come in math and I feel like learning a new topic. I don't get those much thoughts about being bad but about what new to learn to solve this and I have enough time to learn and solve it

Just got my knight badge, and I used to think it would be a world turnover but what I learned is what I did in this journey was more fun then a badge. I remember the days I used to wake up with just 3-4 hour sleep to just give contest, my talk with my single friend would always about leetcode and my first question was two sum which I did around 68 times to learn c++ and all possible ways I can solve it and most of attempts were new tweeks I used to try


r/leetcode • • 1d ago

Discussion Google interview

28 Upvotes

Hi,I want to share my interview process and get some thoughts.
I recently went through l3 interview process.
I had two interviews via Google Meet, one behavioral and one technical. Both went well so I proceeded to the on-site one.
The on-site were two interviews back-to-back. The first went well, I struggled but managed to find the answer at the end.
Second one was completely different from the other technical ones that I had. the interviewer was way more involved and it felt like we’re solving it together. He actually wrote the question on the whiteboard and started drawing examples and stuff.
I also had the main algorithm in mind but something was missing, he gave me a hint by asking a question that I immediately replied with the relevant data structure. The result from that interview were not as good, the algo/data structure was ranked below other ones. I was upset, first I timed the interview and I was a head of time. Second I felt like when he gave me the hint it already disqualified me from achieving a good score on algo/data structure.
In the first interview I had something missing until the last few minutes which I solved and got a good ranking.
After careful consideration I decided to do another one with the suggestion of the recruiter, I did it over Google Meet again. The question was fairly easy, first I’ll note that I started the interview about seven minutes after and finished around 5 minutes before the original time.
Again I started by writing a skeleton and then immediately went to debugging the code(which I stated out loud) right before I wrote an example the interviewer stopped me and said I’m returning too many things - my output is not completely right.
I told him, “OK, let’s look over the code,” and I caught the mistakes pretty quickly. After that I ran examples the code looked clean and the interviewer said the code is correct and optimal. He then continued to ask me follow-up questions. I answered both questions correctly.
I got the results for the interview and I didn’t pass it. I was completely shocked, the interviewer noted that he felt like he needed to guide me.
I prepared a lot for the interviews and also watched Google’s own example of how this interview looks like (https://youtu.be/Ti5vfu9arXQ?si=UTPKz8VcjuJhyCvt) I feel like the scoring is completely subjective. I felt like if we started after the original time and finished before why guide me?(also if you watch google own interview example
You can see the interviewer clearly guiding the “candidate”) Why not just let me solve it and if I do it well done if not so I don’t pass. I also understand that they test communication skills, so I figured this is why both interviewers are more engaged than the previous ones.
What are your thoughts about this?


r/leetcode • • 1d ago

Intervew Prep Hello interview black friday sale

14 Upvotes

Hi Evan,

Hopefully this post reaches you. I was checking the price for hello interview premium for the past 3 months. I saw it was $280 for the lifetime sub but I thought that if I waited for the black friday you would have a better discount. But now it is $300 for the lifetime sub on black Friday, I regret not buying it earlier. Would it be possible to get a better discount for the lifetime sub for the hello interview premium?

Really appreciate your resource and would like to keep learning more!


r/leetcode • • 2d ago

Intervew Prep AMA: Non CS dude who landed a junior year Amazon SDE internship + FT return offer

60 Upvotes

This subreddit was a massive help when i was in my internship interview cycle a year ago. feels like i should come back and pay it forward. I'll try to answer all questions to the best of my ability.

Some general stuff from my cycle:

Screening round was 1 leetcode easy, 2 mediums

I had a Senior engineer interview me and then a SDM (back to back) in person.

I had a total of 6 behaviorals:

Tell me about a project you were most proud of, a time when you changed project direction, a risk you took, a time when you disagreed, etc

they also requested that I dont use the same story more than once.

And then I got two leetcode mediums as the technical round: Merge K sorted lists and Number of Islands (pseudocode accepted)

I remember having a ton of nitty gritty questions about what to wear, what mindset to have, what to practice, what the acceptance rates were, judging criteria, etc...

Gonna be the dude who I wish I had as a resource one year ago, so... ask me anything!


r/leetcode • • 1d ago

Intervew Prep Does anyone know what this means after a loop?

3 Upvotes

Hi I interviewed at Microsoft a few days ago, did my final loop. I noticed that they closed (no longer accepting applications) the role yet my status in the action center says “interview” does this mean they could’ve given the job to another person?


r/leetcode • • 1d ago

Intervew Prep Google L3 onsite interviews, what to expect?

4 Upvotes

Hey everyone, I recently cleared my two virtual rounds (one DSA and one Googliness) for Google L3. I now have two 45-minute onsite rounds, both focused on DSA.

For those who interviewed recently, were the onsite rounds harder than the virtual coding round? What difficulty level should I expect, and how challenging are the follow-ups?

Any preparation advice or recent experiences would be appreciated!


r/leetcode • • 1d ago

Discussion Curious how experienced developers balance code readability, complexity, and maintainability in the AI coding era😇

7 Upvotes

​ AI-assisted development has significantly accelerated code generation, but has it improved long-term maintainability?

In complex production systems with multiple integrations and dependencies, individual files can grow to thousands or even 10K+ lines, despite having well-structured functions.

A few engineering trade-offs worth discussing:

Module size: At what point does file size become a bottleneck for code reviews, debugging, and maintainability?

Architecture: How do you prevent AI-generated code from introducing unnecessary complexity and technical debt?

Engineering standards: Do you enforce module boundaries, file-size limits, and complexity thresholds, or rely on code reviews, testing, and engineering judgment?

How has AI-assisted development changed your approach to code structure, architectural decisions, and long-term maintainability?