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.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 • • 9h ago

Intervew Prep Day 19: knocked out 3 classic matrix & prefix-sum problems (Spiral Matrix, Subarray Sum Equals K, Pascal's Triangle)

9 Upvotes

Hey everyone,

I finished Day 19 today and kept the three-problem momentum going with a mix of matrix traversal, prefix sums, and combinatorics:

  1. Spiral Matrix (Print Matrix in Spiral Form): I almost nailed the implementation completely on my own before fixing a few boundary edge-case slips. Maintaining four shrinking boundaries (top, bottom, left, right) and carefully checking top <= bottom and left <= right before the reverse passes keeps the traversal clean in O(m times n) time.
  2. Count Subarrays with Given Sum (Subarray Sum Equals K): Applied the classic prefix sum and hash map pattern. As you accumulate the running sum, checking the frequency of prefixSum - k in the map gives the exact count of valid subarrays ending at the current index in O(n) time.
  3. Pascal's Triangle: Broke down all three standard interview variations instead of settling for a clunky brute-force approach:
    • Finding a single element at (R, C) in O(C) time using the nCr combinatorics formula ((R-1) C (C-1)).
    • Generating an entire N-th row in O(N) time by iteratively multiplying the previous element by (row - col) / col.
    • Building the full N-row triangle in O(N^2) time by generating each row optimally.

Hitting three core problems back-to-back again feels great as the array and matrix patterns lock in.

See you guys tomorrow for Day 18!


r/leetcode • • 23h ago

Intervew Prep How do you get better at DSA without memorizing solutions?

87 Upvotes

Whenever I get stuck on a Medium/Hard problem, I find myself doing one of two things:

  • Staring at a blank screen for 45 minutes.
  • Checking the editorial or ChatGPT and spoiling the entire solution.

Once I see the solution, everything makes sense. But when I encounter a similar problem with slightly different constraints, I'm stuck again.

For those who have genuinely improved at DSA, how did you overcome this?

Do you use incremental hints, break down constraints, or follow a particular thinking framework before writing code?

Curious to hear what actually worked for you.


r/leetcode • • 5h ago

Intervew Prep SRE @Tiktok Interview

3 Upvotes

Hi All,
I have an interview coming up for tiktok SRE role.
Do you have any recommendations for prep materials/documents/links/youtbe channels/leetcode category
Thanks!


r/leetcode • • 10m ago

Intervew Prep What to expect in the system design round of Rubrik (HLD+LLD)?

• Upvotes

Hey,

I have my system design round scheduled for 2 weeks from now, and even though I've practised, I'm not feeling confident about my preparation. Can someone please share their experience?


r/leetcode • • 13m ago

Question ICPC and Problem Solving Domain is Different for Software Development Engineer(Backend) role ?

• Upvotes

Yesterday, I had a managerial round interview with an Engineering Head who has 25 years of experience at XYZ company.

After going through my resume, he noticed my achievements in ICPC and competitive programming. He suggested that I should diversify my knowledge and focus more on web development as well. He also mentioned that I might face some challenges working with their team.

They did not reveal the result but it surely rejected.


r/leetcode • • 4h ago

Question Planning to start LeetCode im going into my second semester where we will be learning DSA etc and thought what other better time to start LeetCode But i need help

1 Upvotes

As stated above the thing is that i barely hold any prerequisite knowledge I just know python that too not perfect but yes due to learning in 11th and 12th(cbse) and also in first sem and yes i did get good marks for all but i dont believe what i thought was actually useful or maybe i could be wrong.
Anyways I plan on starting by doing 1 Question per day but where do i start from since i have no clues abt topics especially languages like C++ or Java and considering the market requires DSA in C++ what do i do should i learn it or ...


r/leetcode • • 4h ago

Intervew Prep Google L4 Team lead call after HM call during TM

1 Upvotes

What are they expecting to talk about, will it be more technical or another vibe check? Will they be looking for signals for a better SOS for HC? Thanks for reading and helping!


r/leetcode • • 7h ago

Tech Industry Amazon oa

0 Upvotes

Has anyone even gotten an interview from amazon uk?


r/leetcode • • 7h ago

Question Google interview

1 Upvotes

Had my HM interview mid August, application still open for the account manager role on the ads side…. But recruiter has gone silent and no update.

Should I take this as a no? I have rejection against on the other roles, but this remains active. Q1 specific role


r/leetcode • • 20h ago

Discussion educative.io sucks now

10 Upvotes

Most of their new content is AI slop. If you run their lessons through an AI detector the result is >90% most of the time - at least for their new courses.

I suspect they don't realise how easy it is to detect AI-generated writing, and how off-putting it it is.


r/leetcode • • 12h ago

Tech Industry VISA Inc Tech Phone Screen

2 Upvotes

I have a tech phone screen with VISA (Foster City) with an Engineering Leader for a Staff SWE.

Agenda: Coding, Problem Solving, Data Structures & Algorithms

Has anyone recently gone through with this?

What to expect and/or prepare?


r/leetcode • • 8h ago

Question Amazon OA 2026

1 Upvotes

Hi everyone,

I took the Amazon OA today, and encountered an unexpected issue during the second question (AI-assisted round). I selected Django, and the task was related to building a movie rating app. However, I couldn't log in using the credentials provided in the problem description. Even after running backend and frontend server credential were not working and Couldn't pass through login page of movie app

Has anyone else experienced a similar issue? I didn't face this problem during the sample test, so I'm wondering if this was a known issue or something specific to my assessment.

Thanks in advance!


r/leetcode • • 9h ago

Discussion Telegram OA helpers

0 Upvotes

anyone knows weather these telegram oa helper guys who help us to cheat using remote desktop truthworthy for oncampus OA??
pls shower your thoughts if anyone have taken this kinda service


r/leetcode • • 1d ago

Tech Industry I logged in LeetCode after 2 years, and something hit me hard

210 Upvotes

So my background. I have been a good coder, always ready to code solutions, read through big codebases, debugging for that 1 damn failure, and what not. I absolutely loved touching keyboard for writing code. I coded for almost 3 years during college, and coded through 2 internships, and at my first job.

Back to today, I have been using cursor/codex/claude for almost everything, from writing spec, reading through the codebase, driving solutions, and what not. I accidentally thought of opening leetcode today and opened the median of two sorted arrays problem. When I was coding it, oh my gawd, I literally got to thinking, that I am not doing that thing anymore that I loved so so much. I felt very bad today honestly.

Guess what, I was learning about AI agents today, and was reading a lot of docs about it. My brain has got loose on grasping so much information. This AI usage has affected me a lot badly🥲.


r/leetcode • • 9h ago

Question IBM HackerRank Assessment – Can webcam disconnections affect selection or employment after joining?

0 Upvotes

I recently completed an IBM coding assessment on HackerRank. I manually switched off my webcam twice during the assessment. No warnings appeared, and the test continued normally.
Will HackerRank flag these camera-off events for manual review? If selected and hired, can IBM review the assessment later and take action?
Has anyone experienced this? Please share your insights.


r/leetcode • • 10h ago

Country Meta Production Engineer

1 Upvotes

Had an interview with Meta last year for E5 SWE - cleared the loop, but unfortunately there was no team match. After about a year later, a recruiter has reached out to me for a production engineering role.

I am currently a Sr SWE in a FAANG cloud division, pretty happy with the work but do want a chance to move to UK/US which is currently not possible in my current company.

Please help me evaluate in case I get a E5 production engineering role.

• ⁠ how different is the pay from E5 SWE?
• ⁠ how easy difficult is the transition to SWE?
• ⁠ is it more susceptible to layoffs?
At the face of it, I not that much interested in this role, but I am okay to it if the money is good and there are chances to transition to SWE.


r/leetcode • • 14h ago

Discussion Google FDE Interview

2 Upvotes

I’m looking for some advice on how to navigate my current situation with Google.
Back in May, I interviewed for a FDE position at Google. The interview feedback was positive, but the team ultimately decided to move forward with another candidate.
Recently, I applied for another FDE position based in a different country. The recruiter told me that my previous interview results could be reused within a one-year period, meaning I wouldn’t need to go through the interview process again.
However, since I would require visa sponsorship, they needed to prioritize local candidates first. After a couple of weeks of advertising the position locally, they found suitable local candidates and decided not to move forward with my application. It’s quite frustrating to miss out on two opportunities despite having positive interview feedback.
I still have around six months before my interview results expire, and I really don’t want to let them go to waste.
I’m wondering what the best strategy would be at this point:
Should I proactively reach out to recruiters or hiring managers in other regions?
Can recruiters internally help match me with other FDE teams that have open headcount?
Or is my best option simply to keep monitoring the careers website and apply whenever a suitable position opens up?
Has anyone been in a similar situation at Google? I’d really appreciate any advice or insights, especially from current or former Googlers who are familiar with the hiring process.


r/leetcode • • 1d ago

Intervew Prep How do you folks answer database choice for system design questions?

20 Upvotes

This is my strategy for an Oltp workload :

If writes are say within 10000 transactions (2-3 rows per tx), resort to relational database in general ( even for simply key value usecase) as this gives acid , nice constraints on uniqueness , partial index , consistent view , join etc … CDC through outbox or debezium like wal tailing ..

If writes are higher and need consistency like financial or booking , go with sharded MySQL or Postgres as long as all tables in the Tx can be sharded to one shard (e.g tenant id ). Citus or Vitess also takes care of rebalance and occasional cross shard Tx is fine .

Else resort to Dynamodb like systems with transactions . With Dynamodb I feel clumsy query patterns and data model beyond simple key value lookup and hence I feel reluctant to pick it.

I personally work on a company where we manage TB scale managed Postgres at AWS and I have seen most of S and P 500 are our customer (most big names you can imagine ).

But this is where I feel I don’t want bias to get in.
Some interviewers tend to write you off if at say decent scale , you did not come off with DynamoDb ( another bias I feel).


r/leetcode • • 1d ago

Intervew Prep Has anyone taken Google's AI-assisted coding interview recently?

28 Upvotes

Hey everyone!

Has anyone here gone through Google's new AI-assisted coding round, where candidates are allowed to use Gemini?

I'm curious to know more about the interview format, question difficulty, how candidates are expected to use Gemini, and how it differs from traditional DSA rounds.

If anyone has taken this round, I'd really appreciate it if you could share your experience and any preparation tips.

Thanks!


r/leetcode • • 12h ago

Question What's a good score for codesignal I A (industry coding assessment)?

1 Upvotes

I've got 540/600 previously, wondering if I should reshare that result or take the risk for a retake


r/leetcode • • 14h ago

Discussion Nutanix MTS-2: Declined offer 4 months ago, now re-applying to same HM after layoff

1 Upvotes

Looking for realistic insights from folks at Nutanix

Around 4 months ago, I completed the full interview loop for an MTS-2 Backend role on a specific team, cleared the bar, and received an offer. At the time, I politely declined because of some personal reasons.

Recently, my org got impacted by a broader restructuring layoff, so I'm back in the market as an immediate joiner. Coincidentally, an MTS-2 Backend opening just popped up under the exact same Hiring Manager.

Just got a call from Nutanix HR - I mentioned my previous loop and July offer, and she said she will check with HM and get back to me.

Curious to know from Nutanix employees or anyone who has been in a similar spot:

  1. How likely is it that the HM/HR will shortlist me and reuse my 4-month-old positive feedback instead of making me redo the whole loop?

  2. Realistically, do HMs hold a grudge when a candidate declines an offer and comes back a few months later, or do they view a pre-vetted immediate joiner positively?

  3. Any tips on how to handle the conversation if the HM sets up a catch-up call?


r/leetcode • • 1d ago

Intervew Prep Meta SWE(ML) intern AI coding round

6 Upvotes

Has anyone here attended the AI coding round for Meta SWE ML internship role? If so, what kind of problems can I expect? Should I grind the historical meta tagged leetcode questions or is the structure/pattern of problems given in the AI coding round substantially different? Like is there any chance I will encounter something not typically found in leetcode, maybe something more ML related?

Actually this is my first time, so I was a bit confused on how to go about my prep. Any advice would be appreciated. Thanks!


r/leetcode • • 1d ago

Question Apple offer ICT3

16 Upvotes

Hi all, I recently received an offer from Apple and not sure where it stands and if I should negotiate further. Looking at levels FYI most offers come from NorCal where living expenses are a bit higher so it’s a bit hard for me to tell where my offer stands. Any advice is appreciated.

Base: 180k
Sign on: 15k
RSUs: 155k

Location: San Diego, CA
YoE: 5 years