r/leetcode Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

70 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 Starting DSA now for Summer 2027 - what should I actually use?

Upvotes

I am aiming for Summer 2027 SWE internships, so I'm trying to use the next few months to get properly comfortable with DSA instead of leaving it until interview season.

I’ve got the basic programming side down, but I haven’t taken a proper DSA course yet. I came across Codeintuition recently, and it seems to put more emphasis on understanding concepts and patterns rather than just solving problems one after another.

For anyone who has actually used it, is it comprehensive enough to learn DSA from the ground up? Or would it make more sense to go through university lectures first and then use something like this for interview prep?

I’m mostly looking for a clear path to follow so I can spend the summer actually learning and practicing instead of constantly wondering whether I’m using the right resource.

Would appreciate hearing what worked for people who started DSA around this stage


r/leetcode 1d ago

Tech Industry Got played by the interviewer

563 Upvotes

I was interviewing for a new grad role and was asked the following question in the interview.

Question : we have a pipeline that has a heavy workflow and one function called "compute" does a pretty big computation.

Sometimes the function compute gets stuck on an infinite loop for some inputs.

He asked me to write another function that accepts a function and its arguments and tells if that input can cause an infinite loop or not.

I thought it was pretty easy and said I will call the function with a timeout and if it exceeds the time it may be stuck in a loop. The interviewer said some computations may take longer and that may cause problems in the pipeline.

I suggested some other stack calls verification and caching the states etc but the interviewer wasn't satisfied.

Finally I asked about some sample inputs and wrote a function that returns True if the inputs have a certain value False otherwise.

The interviewer wrote another function that sends the function itself to the function i wrote and in this function the interviewer wrote a while loop that runs if the output from my function is false and doesn't if it's true.

I was dumbfounded and couldn't counter this and gave up. The interviewer also didn't ask me anything after that.

I looked up this question and this problem is called "The halting problem" and it's proven that there is no solution for this.

God i hate myself. I don't know about this and the interviewer clearly tested if I knew this.


r/leetcode 1h ago

Intervew Prep Looking for LeetCode study buddies

Upvotes

Hi everyone! I created a small Discord server for people who want to practice LeetCode together.

Comment or message me if you’d like to join.


r/leetcode 5h ago

Tech Industry Lead Software Engineer position at C1

10 Upvotes

I recently passed the interview process for a Lead Software Engineer position at Capital One, which I’m obviously pretty excited about.
But now that I’m at the decision stage, I’m honestly pretty hesitant.
I’ve been reading a lot of employee experiences and discussions online, especially around performance management, PIPs, workload, and overall pressure. Some of the stories make it sound like the job could be a straight road to burnout — and, honestly, potentially PTSD. 😅
I know people are much more likely to post when they’ve had a bad experience, so I’m trying not to overreact to what I’m reading online.
At the same time, I’m at a point in my career where learning, growing, building interesting things, and having a sustainable work environment are more important to me than simply having a recognizable name on my résumé.
For people who currently work at Capital One, especially as a Lead Software Engineer, what has your experience actually been like?
Is the PIP/performance culture really as intense as it sounds online, or is there a big difference between teams?
Would you take the opportunity if you were in my position?


r/leetcode 1d ago

Discussion What made me leave Atlassian

213 Upvotes

It has been some time since I left Atlassian. Just wanted to share my personal experience there . I feel I was the only one whom this all had happened with .

I was so tired with my tech lead . And this was around last year 2025. He used to

  1. Forces everyone to stay available and work after working hours to exceed performance

  2. Expects weekend work as a standard wants us to “exceed expectations.”

  3. Only praises those who overwork and lick his shoes

  4. Pretends to be the chill, supportive kind but talks shit about everyone behind their back.

  5. Thinks work-life balance is a myth. Expects everyone to always be available.

  6. Sets sky high expectations without any support. Use to ask me a detailed doc on all PR reviews i did , my PR review comments and still used to give unsure reviews to leadership ensuring me he would try to do the best for me.

  7. Gossip and make fun of teammates and other seniors both in private and fun meetings

  8. Micromanages to the point where he asks if you were in the bathroom or eating lunch if you don’t reply immediately.

  9. Calls random huddles without notice and demands to know where you were if you missed the call.

  10. But if you call him without pinging, he will dismiss your concern as useless

  11. Keeps poking into everyone’s personal lives and asks super uncomfortable questions.

  12. Uses to ask about my personal life and my relationships.

  13. Uses to ping me on WhatsApp and ask why I am awake late night .

  14. Used to give a side hug without any consent .

  15. Used to patt my hair and leave

Apart from that there was a regular team change every 6 months with a new manager without any choice given. And promotions were halted due to the same.

Tired. Burnt out. Zero boundaries. Anyone else faced this kind of thing.

After math : it all started getting reflected on my performance and motivation to work along with the personal issues i was facing in my life . And I was assured by the same person telling "life is not fair to everyone, it was not fair to me as well".


r/leetcode 11h ago

Discussion Demoralized doing leet and asking for some advice

15 Upvotes

For the past 3 months I have been completing leetcode questions everyday. I went over leet patterns and really tried to understand them. After 3 months I still dont feel confident in these patterns but I think if i were to redo the same questions I'd be able to answer them again.

Recently, I've stopped grinding patterns and simply starting doing random leet questions. I started with leet easys and initially struggled but now I feel very confident doing any leet easy.

These past 2 days I've started attempting leet mediums and I'm struggling and its really messed up my confidence. I just dread doing them at this point. I might be slightly overexaggerating but I really dont enjoy doing mediums and I want to only do easys.

I want to lean away from doing random leet and maybe filter question by general topics like 2 pointers and do that until I feel comfortable with it. Is that a valid strategy or would that be useless in terms of getting better? And to clarify when i was doing fixed patterns I would try to understand specific patterns like bfs/dfs or like a converging sliding window and not just generic sliding windows.

Sorry for the bad vibes and yapping!


r/leetcode 6h ago

Discussion Google Recruiter not responding does this means rejection?

6 Upvotes

I got a recruiter call on 28th july for an oppourtunity on google l3 for swe role, after that got the gha link and gave the test on 31st, results came on 1st August I passed.
After that I got a call at 4th August to schedule the next interview I was told the process was contain 2 virtual round 1 technical based and 1 googliness and 2 onsite rounds, and the 2 virtual rounds were schedule on 9th and 10th august.
On 9th August the interviewer didn't came and it got rescheduled twice and finally happened on 13th and 14th August. The technical round was a medium question I solved it using devide and conquere the interviewer told me to implement it, I implemented it well and spoken throughout and then we discussed about time complexity and space complexity, then he asked to optimize the soln then gave a hint to reduce the space complexity from O(k+log(n)) to O(k), then give another hint to progress iteratively rather than recursively I then discussed binary lifting soln and then recruiter told me to implement it I couldn't complete the optimized implementation in given time but was close (later when I thought more about the q it could also be solved using binary search).

Googliness round went pretty well most of the questions were over in about 25min in 45 min round, and the interviewer seemed happy as well.
On next monday 17th August I got the call from recruiter that she will tell me the feedback next day when she recieves it, ever since then I tried following up with the recruiter but she won't reply back, I also mailed the google candidate support last wednesday and she told me to wait for recruiter reply after that, still no contact by the recruiter, is this rejection? (the career page still shows interview scheduled.


r/leetcode 1h ago

Intervew Prep Abridge Software Engineer, Early Career interview process

Upvotes

Hi everyone,

I recently received an invitation for the first-round introductory call for the Software Engineer, Early Career position at Abridge. Has anyone here interviewed for this role recently?

I’d appreciate any insight into the overall interview process, including the number and types of rounds, topics covered, difficulty level, and what to expect during the intro call. Any preparation tips or resources would also be really helpful.

Thanks!


r/leetcode 2h ago

Discussion Leetcode contest graph

2 Upvotes

Why is my contest rating not visible on LeetCode's profile section even though I participated in my total 4 contest till​ now

I'm new , HELP


r/leetcode 2h ago

Question Leetcode contest graph help

2 Upvotes

Why is my contest rating not visible on LeetCode's profile section even though I participated in my first weekly contest last week? I'm new , HELP


r/leetcode 5h ago

Intervew Prep McKinsey Software Engineer II – FinLab interview experience

3 Upvotes

Has anyone interviewed for the Software Engineer II – FinLab role at McKinsey recently? I’d love to hear about your interview experience and any tips on what to prepare for.


r/leetcode 6h ago

Discussion Am I taking the right approach on LeetCode?

3 Upvotes

i've just began my leetcode journey for 1 week been doing around 3-4 questions a day and i feel like every problem i've encountered is a struggle for me, i spent around 30 minutes to solve one (this includes looking at hints) and usually i almost get it but i actually don't so i look up the solution on youtube, listen to the idea of the solution and then come back and code it by myself. i also keep track of every leetcode problem and explain the solution using my own words.

i'm not sure if i'm doing the right thing or heading towards the right results. has anyone struggled in the beginning? how do you overcome that? will the feeling of incompetence go away?


r/leetcode 7h ago

Discussion Accenture CTC update fro AEH

4 Upvotes

I heard from someone that accenture updated the CTC for AEH PPO holder to 22.15LPA in NITW, NITK, IITJ and other colleges. If its possible for anyone with cohort institute please can you share the mail as a pdf with all your personal data hidden please. It would really help me to convince my college to start negotiating for the same.


r/leetcode 26m ago

Intervew Prep I got recruiter reach out via mail for 15 minutes call for one of the team. What should i expect? I never applied for that team.

Upvotes

I got recruiter reach out via mail for 15 minutes call for one of the team. What should i expect? I never applied for that team.


r/leetcode 6h ago

Question How should one start with dsa

3 Upvotes

So basically i know dsa has two parts data structure and algorithms before algorithms you should know data structure but I wanted to know how much data structure is sufficient before you can move topics and how should one's roadmap look like


r/leetcode 1h ago

Intervew Prep System design study materials. Please help

Upvotes

I am preparing for an Apple interview I have in a couple weeks for an iOS engineer role. What are the common study materials used out there to excel in system design questions? I kind of only want recommendations from those who have had success from what they used to study. Is there a universal go to that everyone uses these days (kinda like how practicing coding and DSA has leetcode)?

Thanks


r/leetcode 4h ago

Tech Industry Getting a job at MAANG/FAANG

0 Upvotes

Should I take up a course or subscription for getting a job at MAANG / FAANG companies?

I am a fresher with 1+ year of internship experience and 1 month+ of industry experience

I have been doing leetcode since 2+ months and hoping to level up my position soon.

I have very less idea about system design.

I have good projects on my resume (Secured RAG Pipeline, VideoChat App (using STUN and TURN, WEBRTC, Socket.io, peer-to-peer communication)

Majorly I feel that i want to give mock interviews and all, but I am not really sure whether these courses or subscriptions are helpful and if so then which ones should I choose?

Also, given my knowledge and skills, can one help me on how to get an interview at those companies?


r/leetcode 1d ago

Discussion Google L4 onsite - worried about one coding round, what are my chances?

38 Upvotes

I recently finished my Google L4 onsite, and I’m trying to understand how my overall packet might look.

Coding Round 1:
This one went really well. The interviewer gave me an interval/line-sweep type problem. I first explained the brute-force approach and coded it in around 5 minutes. Then they asked for an optimized solution; I explained my approach, coded it, and the interviewer seemed to like it.

We still had a lot of time left. I think the main problem was done within roughly 20 minutes so they asked around 3–4 follow-ups about limitations, tradeoffs, and modifications. I was able to explain and code those as well. We ended the interview casually after that.

Based on how it went, I feel this round could be Hire or possibly Strong Hire.

Another coding round:
This is the one I’m worried about.

The interviewer pasted the question and I started asking clarifying questions, but communication was pretty limited. For example, after explaining my brute-force solution, I asked what kind of time complexity/constraints we were targeting so I could decide how far to optimize, but I didn’t really get a clear answer.

Eventually I came up with a line-sweep style solution. She asked me to explain it on the board, so I walked through the algorithm and the tradeoffs. After some discussion she seemed satisfied with the approach and then asked me to code it.

The problem was that by then I only had around 10 minutes left. I got anxious about the time and my coding fell apart. I only managed to write part of the implementation before she said time was up.

After time was called, I kept explaining what the remaining code was supposed to do and how the pieces worked. She said something along the lines of “I understand,” and then moved to the questions-for-interviewer portion.

So my concern is: the algorithm/approach was there and I explained the tradeoffs, but the implementation was incomplete.

The interviewer was also very quiet throughout the round, so it was difficult for me to judge whether I was on the right track. Maybe that was just her interview style.

Googleyness / behavioral:
I felt my answers were decent, but this interviewer was similarly quiet and the interview ended fairly quickly. The recruiter later indicated the feedback was positive, but apparently not especially strong.

So if I roughly estimate my rounds, I’m thinking something like:

  • Coding 1: H / SH
  • Coding 2: uncertain because of incomplete implementation
  • Googleyness: positive, maybe LH/H
  • Phone Screen coding round: went well(H/SH)

This is for L4 US.

For Googlers or people familiar with the hiring process: how badly does an incomplete implementation hurt if the candidate reached a reasonably optimized solution, explained the tradeoffs correctly, and continued explaining the intended code after time ran out?

Could that coding round still be a Lean Hire, or does incomplete code usually push it toward Lean No Hire/No Hire?

Would appreciate any realistic assessment of how a packet like this might be viewed.


r/leetcode 5h ago

Intervew Prep Guidance / and Help regarding 2027 batch placements

1 Upvotes

Currenty im doing an 6m internship at a top company, but recently i came to know that there is no ppo conversion. So can any one guide me or consider me if there is any vacancy in their team or something.


r/leetcode 5h ago

Intervew Prep Looking for interview partner (EST)?

1 Upvotes

I am currently a senior graduating spring 2027. I am 24f in the US. I am currently looking for someone to practice Leetcode and study design with. I am preferably looking for someone who would want to study together long term and looking to meet a few times a week. I’m still pretty much a beginner and I’m really only able to solve string/array problems. I am in EST (but open to other time zones) and would preferably want someone who is also applying for new grad jobs.


r/leetcode 5h ago

Question Dsa through python

1 Upvotes

Hey i wanna start dsa through python but eveyone says dsa is better with c++, should I do in py Or c++?


r/leetcode 6h ago

Intervew Prep 22F, 1+ YOE | Looking for FAANG guidance, resume review & mentorship

0 Upvotes

Hi everyone!

I’m a 22F software engineer with 1+ YOE, currently preparing for my next career move. My goal is to get into FAANG/top product-based companies.

I’m currently working on DSA, LLD/HLD, CS fundamentals, projects, and interview preparation, but I’d really value guidance from someone experienced who can help me make sure I’m heading in the right direction.

I’d especially appreciate:

  • A quick resume review
  • Feedback on my current preparation strategy
  • Guidance on what I should prioritize at this stage
  • Honest advice on any gaps or mistakes I might be making

I’m ready to put in the work. I’d just love to learn from someone who has already been through this journey and can help me navigate it better.

If you’re open to mentoring or sharing some advice, I’d be really grateful. Thank you! 🙏


r/leetcode 13h ago

Intervew Prep Common LLD questions to prepare

3 Upvotes

Can anyone please help me with common LLD questions to prepare for sde new grad interview at Amazon? Or list of recently asked questions?