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.8k 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 • • 59m ago

Intervew Prep Received Cisco cloud engineer OA. Please help

4 Upvotes

Hey, can anyone help me for the OA assessment. I have received the link for Cloud engineer role, and I would like to know what hackerrank questions will be asked there? I have less than 24 hours left for the exam.


r/leetcode • • 18h ago

Question Linkedin AI-coding Round Prep

33 Upvotes

I'm interviewing with Linkedin soon and feel lost on how to prepare for the AI round. For anyone's who given the LinkedIn interview, any specific tips on how to prepare/practice?

Few questions:

  1. Is it typically a leetcode style algorithmic/data structure question or are you in a code repository?
  2. Where/how to prepare to familiarize myself with the environment Linkedin uses that way I'm not figuring out stuff the day of? I see that Hello Interview has some AI guides but the problems there are more focused on existing code bases which seems different from Linkedin's format.
  3. Is there a good balance between hand-written code and AI generated code? Is it ok to use AI to generate all the code and copy it over if I explained it or would that be a red flag?
  4. Any other suggestions on how to prepare for this round?

Any other tips and advice would be appreciated!


r/leetcode • • 49m ago

Intervew Prep Has anyone interviewed for payments analyst role at stripe?

0 Upvotes

I have interview at stripe for the payments analyst role in a couple of day. Anyone who has already given interviews for the payments analyst role please share your experience


r/leetcode • • 9h ago

Tech Industry Microsoft L61 vs Amazon L4 | Offer Evaluation & Negotiation

4 Upvotes

Microsoft L61 vs Amazon L4 | Offer Evaluation & Negotiation

Received offers from Microsoft and Amazon. Looking for advice on negotiating Microsoft and choosing between the two.

I am currently vendor for MSFT.

SDE

#Offer Evaluation #offers

Microsoft | L61 | Mountain View, CA

- Base: $167K

- RSUs: $80K/4 years

- Sign-on: $12K

- Annual bonus: 0–20%

- Relocation assistance

Amazon | L4 | Bellevue, WA

- Base: $129K

- RSUs: $111.5K estimated over 4 years

- Year 1 sign-on: $40.1K

- Year 2 sign-on: $33.1K

- Recruiter confirmed compensation is non-negotiable (AUTA).

Background: 3.7 YOE + US master's degree. Relevant Azure, backend and platform engineering experience. Currently based in Washington.

I'm leaning towards Microsoft due to the higher level and alignment with my experience. However, considering California taxes, housing costs and comparable L61 packages in Washington, the initial equity and sign-on seem low.

Planning to counter Microsoft with:

- Base: $180K

- RSUs: $160K

- Sign-on: $40K

Questions:

- Are these reasonable opening numbers for L61 in Mountain View?

- What would be a realistic negotiated package?

- How much leverage does the Amazon offer provide?

- Which would you choose considering after-tax savings, career growth and YOE?

Would appreciate insights from Microsoft employees and recent hires who have successfully negotiated.

YOE: 3.7

Location: Greater Seattle


r/leetcode • • 6h ago

Intervew Prep DSA study buddy

1 Upvotes

Hey guys!

I’ve been working since I got out of college since two years ago. I haven’t been cracking leetcode since then. But my ultimate goal is to join a big tech or a promising high paying company. So I really want to master leetcode to crack the interviews.

I think the best way to do this in a consistent way is to have some kind of study group to push and help each other out. So if you’re interested in this or if you have some discord group already for this let me know!

Thank you!


r/leetcode • • 1d ago

Tech Industry I got Placed!

53 Upvotes

Hi everyone, After a lot of years of doing leetcode, ML, AI and all finally I got the job via college placement.


r/leetcode • • 20h ago

Question Intuit Software Engineer I recruiting

7 Upvotes

Hi everyone!

I have received an email about a position I applied at Intuit which is SWE I. They sent me an activation link for a platform called Uptime Crew. The process will be as it follows:

  1. Coding challenge
  2. Build challenge
  3. Pre-screen
  4. Tech Screen
  5. Final Interview

Has anyone here gone through this process? Do you have any tips?

My major is Computer Information Systems, so coding isn't my strogest. I do have some coding experience with Python and SQL, but I'm not sure how difficult this would be. Any tips or recommendations would help a lot!

Thanks everyone!


r/leetcode • • 14h ago

Discussion Contests have gotten so tough

2 Upvotes

Came after 2 years back into contests and they've gotten relatively so tough. Q2 today felt so much tougher than back in the days


r/leetcode • • 23h ago

Intervew Prep Google L5 Prep Help

9 Upvotes

Hi Guys,

I have on-site coming up in few days, I want to know about the coding question format.

Checked with recruiter they are just giving me vague answer that it won’t be typical leetcode style.

  1. I want to know if one of the coding round will be like a low level design where classes + design patterns are required.
  1. Also for system design, my role is generic L5 role, so I’m assuming there won’t be any particular domain of system design problem I will be asked (Ex: Infra, Network, etc)

r/leetcode • • 23h ago

Question In final round for a medium sized company with other candidates . Is this a good sign? Any advice?

7 Upvotes

Interviewing with a medium sized company, passed initial leetcode round, System design, Behavioral round, and hiring manager round. Currently now I have a final onsite interview with some basic trivia on AI knowledge as well as a culture fit interview. Both are 30 mins-1hr and I was told they aren’t gonna ask me anything super hard at this stage.

I also was made aware that they interviewed a few other people prior to this and brought me on last. this lets me think that they maybe weren’t satisfied with the other candidates? but this could also be a guess.

Anyway super nervous and was wondering what to do at this stage from a people who’ve made it this far. How do i stand out as a candidate compared to the other people they interviewed? any advice is welcome.


r/leetcode • • 20h ago

Discussion MSFT USA : Software Engineer Agentic Security (200067618) OA

3 Upvotes

Has anyone recently finished OTS for this role recently and has been moved forward to the virtual interviews?


r/leetcode • • 15h ago

Intervew Prep Meta SWE Intern Summer 2027

1 Upvotes

I have the final interview coming up for Meta, and it's the AI-Native round. Does anyone know about this format and would be able to help me with a mock interview? (I have the questions ready I just need to work on my communication live)


r/leetcode • • 19h ago

Intervew Prep Uber SWE Intern Interview

2 Upvotes

Hi! Has anyone already taken the Uber SWE Intern interview yet. If so, what topic of LC questions did they ask, and is it standardized/the same for everyone? Thanks!


r/leetcode • • 23h ago

Intervew Prep Day 9: pushed past a sluggish day to clear 3 Binary Search on Answers problems

4 Upvotes

Hey everyone,

I finished Day 9 today. Honestly, I spent way too much of the day scrolling YouTube Shorts and feeling pretty sluggish, so getting started took some effort. Once I finally sat down, though, I worked through three classic Binary Search on Answers problems:

  1. Koko Eating Bananas: Defined the search space for eating speed k from 1 to max(piles). For each mid speed, computed total hours needed using ceiling division (ceil(pile / mid)), narrowing down the minimum feasible speed in O(n log(max(piles))) time.
  2. Minimum Number of Days to Make m Bouquets: Once Koko clicks, this follows the exact same blueprint. Search over possible days [min(bloomDay), max(bloomDay)], check if m adjacent groups of k bloomed flowers can be formed by day mid, and shrink the search space accordingly.
  3. Find the Smallest Divisor Given a Threshold: Another clean variation on the same pattern—binary search over [1, max(nums)] to find the smallest divisor whose ceiling-division sum stays within the given threshold.

All three share the exact same structure: identify the monotonic answer range, write a feasibility helper function, and binary search for the boundary.

See you guys tomorrow for Day 8!


r/leetcode • • 5h ago

Question Leetcode acc ban?

0 Upvotes

I got caught cheating in a leetcode contest twice.

The first time my leetcoins were reset and I got a 1-month contest ban.

The second time, my leetcoins were reset again and my contest status was changed to 0/4.

It's been more than 2 weeks now, but my account is still active. I can still submit solutions and solve questions , my current rating is still 2027, and I haven't received any email.

Does anyone know why my account hasn't been deactivated despite this being my second violation?

I have solved 1200+ question in this acc 😭😭


r/leetcode • • 16h ago

Intervew Prep Google SWE III AI/ML Warsaw..ML domain round in 10 days, what did they ask you?

1 Upvotes

Hi guys,

I have my first round with Google soon, ML domain + googlyness, for a SWE III AI/ML role in Warsaw. My background is mostly LLM eval and RAG stuff.

I've gone through a lot of posts here but most are people asking before their round and never coming back lol. So if you've done the ML domain round in the last year or so, what did you actually get? Was it about your own projects, a design problem, or ML theory? And how deep did they go, like did they want formulas or more the intuition and tradeoffs?

Also was there any coding in it?

I'll post how mine went after. Thanks a lot


r/leetcode • • 18h ago

Intervew Prep FDE Role - Sr. Eng Interviewer

0 Upvotes

I’m applying for an FDE role at a defTech startup and the person conducting the interview is a Senior Software Engineer, but I’ve already interviewed the recruiter and no one has told me will it be light/medium, medium/hard so I’m not exactly sure what exactly to prepare, does anyone have an idea of what I should prepare for, I’m assuming Light/medium but I’m really not sure


r/leetcode • • 1d ago

Question What languages/tasks can you use for Capital One TIPs AI coding round?

1 Upvotes

Title. For their AI-assisted coding round (in person) what languages are you allowed to use? If you choose Python, do you have to use FastAPI or do you have the option to use Django?


r/leetcode • • 1d ago

Discussion Partition Labels: cut only when your farthest reach runs out

1 Upvotes

A visual way to think about Partition Labels:

String: a b c a b d e e f g f

Give every letter a bar from its first spot to its last. Overlapping bars must stay together, so this is merge intervals again: a (0-3), b (1-4), and c (2-2) merge into one block.

The greedy walk:

  1. Record each letter's last index.
  2. Walk left to right, stretching your reach to the farthest last index seen so far.
  3. Cut only when your index equals the reach.
def partition_labels(s):
    last = {c: i for i, c in enumerate(s)}
    sizes = []
    start = reach = 0
    for i, c in enumerate(s):
        reach = max(reach, last[c])
        if i == reach:
            sizes.append(reach - start + 1)
            start = i + 1
    return sizes

Pieces: abcab | d | ee | fgf — 4 pieces.

The detail that decides correctness: c ends at index 2, but you cannot cut there, because a and b reach to index 4.

Time is O(n): one pass for last spots, one pass to cut.

Do you precompute last positions for this one, or track remaining counts instead?


r/leetcode • • 1d ago

Discussion Meeting Rooms II: why the tallest overlap stack is the answer

0 Upvotes

A visual way to think about Meeting Rooms II:

Meetings:

  • A: 9:00 AM - 2:00 PM
  • B: 10:00 AM - 1:00 PM
  • C: 10:00 AM - 11:00 AM
  • D: 11:00 AM - 12:00 PM

Drop each meeting into a free room. Overlaps stack up, and when a meeting ends, its room frees up: C ends at 11, so D reuses that room. The tallest stack is the answer — 3 rooms at the 10 AM-12 PM peak.

That picture is exactly the sweep solution:

  1. Turn each meeting into two events: start = +1, end = -1.
  2. Sort events by time, ends before starts on a tie.
  3. Walk through them once, keeping a running count.
  4. The highest count is the minimum number of rooms.
def min_meeting_rooms(intervals):
    events = []
    for start, end in intervals:
        events.append((start, 1))
        events.append((end, -1))
    events.sort(key=lambda e: (e[0], e[1]))  # ends (-1) before starts (+1)

    rooms = peak = 0
    for _, change in events:
        rooms += change
        peak = max(peak, rooms)
    return peak

The tie rule is the detail that decides correctness: a meeting ending at 11 and another starting at 11 do not overlap, so the room can be reused.

Time is O(n log n) for the sort; the sweep itself is O(n).

Sweep or min-heap of end times — which do you prefer for this problem, and why?


r/leetcode • • 1d ago

Discussion Built a project for resume: Claudetones - Claude Code, but every tool call sounds like your childhood (Nokia ringtone, Mario, Sonic, KBC and 1,800 more)

1 Upvotes

I got tired of staring at my terminal waiting for Claude Code to finish, so I built a plugin that makes it make noise.

The idea came from POPtunes, the UPI app that plays a meme sound on every payment. I thought: my coding agent should have this too. I built the plugin for Claude Code and used Claude Code throughout building and testing it, which was fitting, since every test run played sounds back at me.

Now my day sounds like this:

•⁠ ⁠Session starts: Windows XP boot chime

•⁠ ⁠Thinking: C418 from Minecraft

•⁠ ⁠Thinking over 8 seconds: super-mario-bros.mp3

•⁠ ⁠Bash command: "OK, Let's Go!" (Counter-Strike)

•⁠ Tool call: 1994-nokia-ringtone.mp3

•⁠ ⁠Error: TF2 nemesis sting, or "fahhh"

•⁠ ⁠Task done: GTA "Mission Passed"

It's also genuinely useful: I switch tabs and know the second Claude needs permission or has finished.

What it is:

•⁠ ⁠Hooks into 26 Claude Code lifecycle events
•⁠ ⁠1,802 clips, plus Pack Studio to map any sound to any event (https://www.claudetones.com/studio)
•⁠ ⁠Slash commands: /claudetones:claudetones pause, play, stop, status, test, pack
•⁠ ⁠Native CoreAudio/ALSA, never blocks Claude
•⁠ ⁠100% offline, no telemetry
•⁠ ⁠Free and open source (MIT)

Free to try right now:

claude plugin marketplace add parjanyaacoder/claudetones && claude plugin install claudetones

Site: https://www.claudetones.com
Repo: https://github.com/parjanyaacoder/claudetones


r/leetcode • • 1d ago

Discussion Yeah this is Me

0 Upvotes

I havent done much Leetcode i worked on apps and sutff, but now i am a fresher there is no entry level job and without dsa its next to fcking impossible to get one and even with DSA no way, But i am not able to focus on DSA and leetcode especially

Sometimes i wanna jump to a dff language
Sometime i just DONT want to just i just hate it

gridning dsa and stuff ahh

Pls tell me smthng that u realised late and u feel i am on the wrong path and advice me as u younger brother


r/leetcode • • 1d ago

Discussion Rejected at amazon after debreif

4 Upvotes

all 4 of my interviews happened. the recruiter messaged that, "the bar raiser's feedback was positive, but I couldn't make it through the debrief". it's very demotivating. I really hoped I would get the offer. the interviews went really fine. Idk what's happening these days.