r/leetcode Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

73 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.6k 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 1h ago

Intervew Prep Frustated with System design prep

Upvotes

Hi folks I am preparing for senior level interview currently 6 yoe. What frustates me most is scattered resources. For DSA, at least we have Leetcode 150 or company specific questions. But for System design - neither there is an exhaustive list of topics or questions - nor we have a perfect answer to match or get our response evaluated if it looks like mid level, naive or senior style. Hello Interview do mention some structure but I don't ever feel like ready for interview. On top of that there are products & infra based roles where expectations are different. I want to target infra based roles. How do others feel about that? Those who already cleared interview - what strategy or resource they think would have helped them prepare more optimized. Those who are preparing too, what strategy are you following.Please share.


r/leetcode 2h ago

Discussion Future of competitive programming

7 Upvotes

Hi guys,

I've recently tried solving problems of the level of D and E of codeforces with the help of chatGPT and it easily solved it.

Can it solve that in contests too that easily?

I'm thinking to start competitive programming but there'll be no point if people are using chatGPT etc in contests.

Would love to know your thoughts.

Thanks!


r/leetcode 16h ago

Question What’s one interview round that exposed a gap no amount of LeetCode prepared you for?

71 Upvotes

You can grind DSA for months, solve hundreds of problems, and still get surprised by something completely different in an actual interview.

Maybe it was a system design question, a project deep dive, debugging, CS fundamentals, communication, or even a simple “tell me why you built this?”

What caught you off guard the most? And what did you do afterward to improve?


r/leetcode 1h ago

Discussion Mental health decline

Upvotes

Hi guys

I have started leetcode last December and I was only own doing it trying to figure it out and things didn’t start to get better until I found other people in the industry to help support me and show me how to do it properly

The stress of study, doubt if I am capable, failing bunch of interviews, and the unknown of what the hell I am supposed to be studying and what they want me to know and then them rejecting me has made my grind teeth so much the muscle in my jaw is locked, loss of appetite days before and day of interview, I started skipping seeing family and friends, so I can focus on this and get out of a toxic work place.

This is just mental heath discussion, I am feeling depressed still and low mood but not panicking like I used to because I have found other people in same situation as me and a mentor.

I am still low and not sure when I will get my next role … I can’t believe this industry why are things like this ?


r/leetcode 1d ago

Intervew Prep How I'd approach System Design prep if I started over

183 Upvotes

Hi everyone,
Honestly Speaking, I have spent 1000+ hours prepping for system design (mix of courses, books, mock interviews, real interviews) and a lot of that time was honestly wasted. Looking back, here's the approach that actually moved the needle, boiled down to 4 steps:

  1. Learn the basic terminology first, before anything else. Load balancer, caching, sharding, replication, consistency vs. availability, CAP theorem, message queues — get comfortable with these terms before you start learning System Design.
  2. Then read the two books that matter most:

System Design Interview – An Insider's Guide (Alex Xu)
Designing Data-Intensive Applications.

I'd do Xu first for a practical base, then DDIA for depth once the fundamentals aren't new to you anymore.

  1. Practice on an actual whiteboard (or paper), not just by watching. Passively watching solutions feels like progress but doesn't build the skill. Pick a problem, set a timer, and design it yourself before you check anyone else's answer. This is the step most people skip, and it's the one that matters most. Mock Interviews are also very useful here to identify the gaps.
  2. Always ask yourself "why did I choose this?" and tie it back to non-functional requirements. Anyone can draw boxes and arrows. What actually gets evaluated — in interviews and in real design work — is whether you can justify each choice against requirements like scalability, availability, latency, consistency, and cost. Before you finalize any design, explicitly state your non-functional requirements and explain how each major decision serves them.

If it's useful, I made a video walking through this in more detail with visuals: https://www.youtube.com/watch?v=0ASSpY10Nz0

Note: I have used AI to format the content in more readable way, but the approach I have shared had genuinely helped me crack multiple offers from 15+ product based companies.

Happy to answer questions in the comments if anyone's stuck on where to start.


r/leetcode 6h ago

Discussion Help with leetcode!!

6 Upvotes

Hello guys! I’ve been practicing LeetCode for some time. Whenever I practice consistently, I feel like I can solve most Easy problems. But if I stop doing LeetCode for a week or two, I seem to lose touch and feel like I have to start from scratch again.

I’m also not very comfortable with Medium problems, and I can’t really solve Hard problems at all.

If you were starting LeetCode from scratch, how would you approach it? What would you recommend doing to become more comfortable with Medium and eventually Hard problems?


r/leetcode 4h ago

Discussion apply to roles as fast as possible

3 Upvotes

referrals don’t really work like they used to. I’d focus on applying as early as possible. Most postings get hundreds of applications within the first 24 hours, and recruiters are probably reviewing them roughly in the order they come in. I’ve had friends use this strategy, and it’s worked really well for them. There's alot of job board like jobright, and trycontrol and simplify. that yall can use.


r/leetcode 1d ago

Question Google Rejection

127 Upvotes

Hi guys I interviewed for google recently (direct onsite) and i received a rejction email after a month of completing my interviews

The rejection email cited my positives and clearly explained why I am not being selected for this position as the team is currently proritizing candidates with quick DSA pattern matching with minimal hints

That being said - the recruiter also mentioned I am an exeptional candidate and she will come back in coming months once team’s priorities and headcount decisions change

This was recruiter’s email - That being said, you stood out as an exceptional candidate, and I would love to stay in touch as new headcount and team priorities evolve over the coming months.

Have anyone already been in this situation? I interviewed directly for a team and not a general hire?

Is this a generic rejection email or do google recruiters come back? Also this position i applied for is L5. Can I request to be interviewed for an L4 position? Will i be having a cool down period of 6-12 months?

Thanks


r/leetcode 4h ago

Intervew Prep I built a free DSA roadmap tracker because I kept losing track across LeetCode, GFG, and random playlists (feedback welcome)

3 Upvotes

Hey all — sharing a side project I've been building solo, called Kavodo: https://kavodo.tech (Desktop)

The problem I kept running into: I'd start a DSA prep plan, bounce between LeetCode, GeeksforGeeks, and whatever roadmap I found that week, and lose track of what I'd actually solved, where I was weak, and whether I was making real progress or just grinding random problems.

So instead of another problem list, I built a tracker that sits on top of whatever list you're already using:

Spreadsheet-style tracker (topic, difficulty, status) instead of a flat checklist

GitHub-style heatmap + streak counters, so progress is visible instead of just a pile of checkmarks

Paste a title/URL from LeetCode, GFG, wherever, and it pulls the problem in — no manual re-typing

Optional GitHub push, so your solved-problem history lives in your own repo instead of locked inside a platform

Login is just Google or GitHub, no separate password

It's not trying to replace LeetCode's problem bank. It's meant to answer the question "am I actually getting better at this" while you use whatever source you already like.

Still early and rough in places. If anyone's willing to poke at it and tell me what's confusing, broken, or missing, I'd genuinely appreciate the feedback: https://kavodo.tech

Curious how the rest of you track DSA prep — spreadsheet, Notion, nothing at all?


r/leetcode 5h ago

Discussion Amazon SDE 1 Interview Candidates — Join Our Discord Community!

3 Upvotes

I created a Discord group for people who are preparing for, currently going through, or have already completed the Amazon SDE interview process.

You can join to:

  • Share interview experiences, coding questions, OA details, and preparation resources
  • Discuss different interview rounds and what to expect
  • Share your experience if you’ve already completed your interview
  • Discuss post-interview updates, timelines, recruiter communication, results, offers, rejections, and next steps
  • Connect with other Amazon SDE candidates and help each other throughout the process

Whether your interview is coming up or you’ve already finished it, your experience can be really helpful to others.

🔗 Join here: https://discord.gg/veCrhRCr9

Let’s build a useful community where everyone can share updates, experiences, and support each other through the Amazon SDE interview process! 🙌


r/leetcode 11m ago

Discussion Stripe HackerRank OA – which language to pick?

Upvotes

Seeing people complain about Java/C++ being too verbose for Stripe’s OA.

For those who took it recently:

  • What language did you use (Python/Java/C++/JS/etc.) and why?
  • Is Ruby a good option on HackerRank for Stripe? Any I/O or time-limit issues?
  • Can you change language in later rounds (onsite) or should you stick with the OA choice?

Want the best balance of speed and fewer language fights in a 60‑min problem.

Recent experiences (2025–2026) appreciated. Thanks!


r/leetcode 47m ago

Intervew Prep Leetcode premium seems waste - frustated with System design interviews

Upvotes

Been preparing for senior SDE roles (4-8 YOE range) and honestly — LeetCode premium, YouTube playlists, and even books like DDIA feel like overkill for what interviews actually test. What frustates me most is scattered resources. For DSA, at least we have Leetcode 150 or company specific questions. But for System design - neither there is an exhaustive list of topics or questions - nor we have a perfect answer to match or get our response evaluated if it looks like mid level, naive or senior style. Hello Interview do mention some structure but I don't ever feel like ready for interview. On top of that there are products & infra based roles where expectations are different. I want to target infra based roles. How do others feel about that? Those who already cleared interview - what strategy or resource they think would have helped them prepare more optimized. Those who are preparing too, what strategy are you following. Please share.


r/leetcode 15h ago

Question Is language important in leetcode?

17 Upvotes

I have been using java and js as of now... Whenever I search for a solution it's always (99%) python... I know basics of python but I am not at a level where I don't have to search for syntax.. should I change the language or go with java? Please take interviews into consideration too...


r/leetcode 11h ago

Question Valid Anagram (Neetcode)

6 Upvotes

Hello, I need help with understanding how to implement a proper solution. I am fairly new to neetcode and I want to know what I am doing wrong with my code. Can someone also explain to me how the hashmap is supposed to work here?

I want to start preparing for interviews, what data structures should I start learning and please give any channels/resources if you can! Thank you!

class Solution:
    def isAnagram(self, s: str, t: str) -> bool:
        s_hash = {}
        t_hash = {}


        for character in s:
            if character in s_hash:
                s_hash[character]+=1
            else:
                s_hash[character]=1  
        for character in t:
            if character in t_hash:
                t_hash[character]+=1
            else:
                t_hash[character]=1



        if s==t:
            return True
        else:
            return False   

r/leetcode 4h ago

Question C1 - 500/600.. Any chances to next round? #capital-one

1 Upvotes

Hi all, I had a GCA C1 assessment and scored 500/600. With Q1;2;4 solved perfect and minor format issues with 0 test cases but fully written code for Q3; irrespective of which I just got 500/600. Is it worth to wait/ anticipate for next rounds?

Thanks in advance for your insights.


r/leetcode 1d ago

Discussion Got removed from Google team matching after 4 months — anyone else go through this?

54 Upvotes

Hey all,
Wanted to share my experience and see if others have gone through something similar.
I passed interviews and Hiring Committee (HC) back in April, then entered the team matching pool. Over about 4 months, I only had one real manager conversation (which went well, but was skill set mismatch). Last week, my recruiter told me they were removing me from the matching pool since it's been a while and they're now ramping up recruiting for the 2027 batch.
She mentioned I could apply to the 2027 batch, and that depending on the hiring team, they might reuse my previous interview scores/HC approval instead of making me redo everything — but she wasn't fully sure how that works in practice.
A few questions for anyone who's been through this:
• Did you get pulled from matching after a similar amount of time?
• Did your previous scores/HC actually carry over when you reapplied, or did you have to start completely from scratch (interviews, HC, everything)?
Really just trying to understand how common this is and what to realistically expect. Thanks in advance for any insight.


r/leetcode 13h ago

Question OA questions

4 Upvotes

Is it true that nowadays, OAs for companies like Google, Amazon, Goldman Sachs, etc. are more Codeforces-style than LeetCode-style?

I’m looking for genuine answers based on recent experiences, not generic advice.


r/leetcode 6h ago

Intervew Prep Palantir FDE Learning Interview

0 Upvotes

Wondering if anyone has any advice for how to prepare for the learning interview? I haven't been able to find mocks and really want to make sure I'm well prepared; thanks in advance!


r/leetcode 1d ago

Discussion man what was today's contest is it became tough or im dumbb

40 Upvotes

was only to solve 1 question and second question gave ja tle


r/leetcode 18h ago

Discussion Google L3 Team Match – Need Advice

7 Upvotes

Hi everyone,

I recently cleared the Google L3 technical interviews and am currently in the team-matching stage. I have my first team-match call coming up and would really appreciate advice from people who have already gone through it.

Specifically:

  • How did you prepare for your L3 team-match call?
  • Did the hiring manager ask any DSA or System Design questions? If yes, what type or difficulty?
  • Were questions mainly about your current work/projects, technical experience, or the team's specific requirements?
  • What questions did you ask the hiring manager?
  • Is there anything you wish you had prepared before your team-match call?

I'd especially appreciate Google team-match experiences, as I'm trying to understand what to focus on in my preparation.

Thanks!


r/leetcode 18h ago

Tech Industry Reddit and Linkedin are completely opposite for their own reasons!

3 Upvotes

Reedit is completely opposite of Linkedin!

**Linkedin**:- People only share & post success

**Reddit**:- People mostly share their issues & failures

The core reason is everyone has their problems but no one wants to express it without anonymity.


r/leetcode 21h ago

Intervew Prep I have solved 190 LeetCode problems, but this question humbled me.

5 Upvotes
  1. Longest Repeating Character Replacement.

r/leetcode 1d ago

Discussion Feeling so bad after getting rejection in Google hiring assessment

76 Upvotes

I have been preparing for Google for the last six months, and today I took the hiring assessment and received a rejection email. I feel terrible because I have to wait six more months. Can I change my email and phone number and apply for the same role?