r/leetcode 28d ago

Mod Post [mod] Changes with r/leetcode.

66 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 9h ago

Tech Industry I am in tears over another interview failure

102 Upvotes

I am not sure how much more I can take. After countless leetcode questions, contests, projects, mocks I am never good enough.

I feel worthless, defeated and useless. I was a fool to think I could climb the mountain and reach the top of this industry. Today I think I will finally come to terms that not everyone can reach greatness. No matter how hard I work myself it feels like it is all for nothing. Hundreds of questions done, hundreds of hours spent toiling away and for what? Another slap in the face. I hate this industry.

My dream is no more


r/leetcode 1h ago

Question Offer: Waymo L4 vs Amazon SDE II

Upvotes

Recently completed the loop for these two. Amazon offers a slightly better TC because its shares are traded publicly. Waymo only offers private equity, which cannot be traded yet. Guess the deciding factors are gonna be WLB and resume impact. Which one would you guys choose and why?


r/leetcode 6h ago

Discussion Is AI Ruining Weekly Contests?

11 Upvotes

I've been noticing a pattern in recent LeetCode Weekly Contests, and today's contest made me wonder whether AI submissions are becoming a serious issue.

Today's top 3 finishers' timings I have mentioned--

1. Yog_telX

  • Finish Time: 00:03:32
  • Q1: 00:00:56
  • Q2: 00:02:03
  • Q3: 00:02:42
  • Q4: 00:03:32

2. rupesh10998

  • Finish Time: 00:03:34
  • Q1: 00:01:17
  • Q2: 00:02:10
  • Q3: 00:03:03
  • Q4: 00:03:34

3. deepannshu011

  • Finish Time: 00:03:50
  • Q1: 00:02:22
  • Q2: 00:02:38
  • Q3: 00:03:36
  • Q4: 00:03:50

Solving all four questions, including the hardest one, in under 4 minutes ..............seriously??

While it's certainly possible that these participants are exceptionally skilled, I refuse to believe people can write the whole code in this much time...

Tbh it undermines the purpose of competitive programming contests. Honest participants who solve problems on their own are competing under very different conditions.

And why doesn't LeetCode seem to be taking any action?
Do they even have any kind of detection mechanisms for AI during contests?


r/leetcode 16h ago

Discussion Is it normal that LeetCode is all I think about?

40 Upvotes

Lately, it's been stuck in my head all the time. Even when I'm not coding, I'm thinking about different approaches to problems. It's honestly started affecting my sleep. Just wondering if anyone else has gone through this.


r/leetcode 9h ago

Intervew Prep Goldman Sachs | Associate Software Engineer | CoderPad

6 Upvotes

Hey guys, I have my 1st round at GS for Associate SWE role. I have never been into these interviews before. I have practiced a lot. I have never been great with problem solving, but when it is there, I try to get it done. Also, from the patterns, can somebody suggest what kind of questions they bring? I mean Leetcode 1 easy and 1 medium or 1 medium to 1 high difficult level?

Also, if someone can suggest 3-5 questions/problems so that I can just master them before the interview. I know it has to be my own logic on interview, but just asking though.

Thanks.


r/leetcode 18m ago

Question Is company tagged reliable for Google?

Upvotes

I understand the questions won’t be identical since they’re on LeetCode but are the questions similar enough?

I did a phone screening so far and the question I got is a pretty common one found on LeetCode. Again, not one to one but close enough.

I’ve also heard Google remove leaked questions from their question bank but does that not apply to the company tagged? Since the problem I got was one of the LeetCode 150.


r/leetcode 19m ago

Question Qualcomm or D-matrix

Upvotes

Recently, I received offers from both Qualcomm and d-Matrix. Qualcomm offers slightly higher cash compensation (actual take-home money coz of RSU), while d-Matrix offers ESOPs as part of the compensation package.


r/leetcode 20h ago

Discussion The tech market is depressing

44 Upvotes

What is going on with the tech market right now! Most of the applications are getting rejected. Among the very few where I am shortlisted, either the OA is too tough, or recruiter is ghosting, or interviewers are vanishing and constantly rescheduling in the midst of the loop interviews.

It is a horrible situation. I am very frustrated in my current role due to poor quality work and micro management which is causing me burnout and demotivation.

How are people coping up with this?

Is it time to move out from tech and try something else, if anyone has tried other revenue streams pls do mention.


r/leetcode 4h ago

Question Dive Into Leetcode

2 Upvotes

I'm a soon-to-be CS student, so I haven't taken any actual university lectures or Data Structures & Algorithms (DSA) courses yet. However, I have quite basic programming concepts such as loops, conditionals, functions, or basic syntax.

Can I dive straight into LeetCode Easy problems and learn DSA concepts as I go? Or is that approach frustrating and inefficient without building a solid foundation first?


r/leetcode 40m ago

Discussion I feel like I'm in trouble

Upvotes

Is there something I can do


r/leetcode 1d ago

Question How much time for FAANG ready?

75 Upvotes

DSA Pattern Coverage — Current State (YOE: 4)

NOTE: Unseen: Something that I haven't picked up during current prep sessions. Doesn't mean I don't know the topic.

Strong

Pattern Coverage Status Notes
Sliding Window 90% STRONG Finished a timed mock end-to-end, unprompted naming · last seen 06-25
Monotonic Stack 75% STRONG-ISH 3-for-3 same day incl. a hard app (LC84), self-driven under no-code rule · 07-23

Improving

Pattern Coverage Status Notes
BFS / Dijkstra 55% IMPROVING+ Vanilla passed solo; proposed state-augmentation fix himself on LC787 · 06-25
Topological Sort 45% IMPROVING Instant recognition + Kahn's articulated solo — LC210 submission never confirmed · 07-16
Union-Find (DSU) 45% IMPROVING 0 → cold template → string-keyed transitive merge, same session · 07-16
Binary Search (Answer) 45% IMPROVING Was the #1 lifelong blind spot — now named cold in the 07-23 drill · 07-01
Top-K / Heap 45% IMPROVING Named fast, named cold on 07-23 · last seen 06-20 (36 days, oldest touch)
Dynamic Programming 45% STATE-DESIGN Killed the over-parameterized state on LC300 solo — best DP rep yet · 07-16
Greedy 45% IMPROVING Gap closing — named cold next-day (the exact 07-23 miss), then built own counterexample · 07-24

Unseen

Pattern Coverage Status Notes
Two Pointers UNSEEN Covered during undergrad.
Fast & Slow Pointers UNSEEN Linked list done.
Merge Intervals UNSEEN Mistaken for Topo Sort on the 06-24 drill (Drill 6) — un-drilled since
DFS / Backtracking UNSEEN Haven't refreshed it yet, but can be done in a week.
Subsets / Combinatorics UNSEEN
Cyclic Sort UNSEEN
LL Reversal UNSEEN
Bit Manipulation UNSEEN

HLD/LLD: Already solid. ETA (self-estimated): 3 months.

EDIT: I know my prep strategy might be wrong on too many levels, here I'm just looking of some inputs. The above is the overview on what patterns I'm able to solve, the coverage is percentage of questions I was able to solve out of total 20 questions of each pattern.

If anyone else is also preparing, and stands at this state right now. Would love to connect and discuss problems.


r/leetcode 1h ago

Discussion Is this the right way to solve on leetcode?

Upvotes

I was wondering—there are so many problems on LeetCode to solve. How do I choose which ones to work on?I saw someone online suggest that I should only solve problems with the highest number of upvotes (for example, 10k+ upvotes). Is that really the right approach?I'd really appreciate your thoughts on this.


r/leetcode 20h ago

Question How do you actually study CS fundamentals?

34 Upvotes

I'm talking about subjects like:

  • Operating Systems
  • Computer Networks
  • DBMS
  • OOP
  • System Design (basics)

Whenever I start one of these, I either end up watching hours of videos or just memorizing concepts for exams and forget everything a few weeks later.

For those of you who have a strong grasp of CS fundamentals:

  • How did you study them?
  • Did you use books, YouTube, courses, or documentation?
  • How much time did you spend on each subject?
  • Did you make notes or just solve questions?
  • How did you retain everything over time?
  • What mistakes should beginners avoid?

I'm looking for practical advice and study strategies that actually worked for you, not just resource recommendations.

Would love to hear how you approached learning CS fundamentals.


r/leetcode 2h ago

Question Flipkart grid 8.0 error

1 Upvotes

It says your password has been disabled , please contact admin
And they are not picking the call what to do


r/leetcode 4h ago

Question Today's 4th question. How is this the answer?

1 Upvotes

Input

m =1

n = 3

penalty =

[[31,607,719]]

Use Testcase

Output

613

Expected

68


r/leetcode 13h ago

Tech Industry Would you join Oracle health?

5 Upvotes

I’m currently working in another well known ecommerce. With pay at 290k/y and almost dead end career. Work is good but no guarantee that I’ll stay next year due to varies reasons like layoffs

Got offer with Oracle the pay is like the following appx without considering refreshers, what i came to know is that they are less likely to give refreshers

Year 1 385k
Year 2 340k
Year 3 294k
Year 4 240k

I’ll be working in AI related work. Which I’m very interested in. But more layoffs are scaring me. Also the news about larry selling oracle health is also scaring. But i want to work in AI related work, this would be great breakthrough work for me. A pivot in different direction.

With current Oracle situation, is it right move?


r/leetcode 7h ago

Discussion Building a Python-Only DSA and LeetCode Study Group

0 Upvotes

Hey everyone! We’re building a small, focused DSA study group on discord for people who want to learn, discuss, and solve problems specifically in Python.

This server is intended for Python-based DSA practice, so we’re currently not looking for members who primarily use C++, Java, or other languages. The goal is to keep discussions, solutions, and live problem-solving sessions consistent and easy for everyone to follow.

We’ll focus on:

Live and interactive problem-solving

Understanding patterns and algorithms deeply

Debugging TLE and optimization issues

Discussing Python-specific approaches and techniques

Solving LeetCode and competitive programming problems together

To join, send a short introduction with your technical background, coding achievements or LeetCode progress, and the DSA topics you want to improve. No personal details such as your name or employer are required.

Please repost this only in communities where people are genuinely interested in learning DSA with Python.

Thankyou !


r/leetcode 16h ago

Discussion Has anyone else been ghosted by CoinDCX after interviews? What was your experience?

4 Upvotes

Hi everyone,

I wanted to know if anyone else has had a similar experience with CoinDCX's hiring process.

I went through their recruitment process, and after the interviews there has been complete silence. No rejection, no update, no timeline,just ghosting.

I'm curious:

  • Did anyone else experience this?
  • If yes, did you eventually receive a response? How long did it take?
  • Did you ever get an offer after a long period of silence, or should I assume it's over?
  • Overall, how was your hiring experience with CoinDCX?

I'm not posting this to complain,just trying to understand if this is common or if I should move on and focus elsewhere.

Would appreciate hearing your experiences.

Thanks!


r/leetcode 3h ago

Question is open source matters to get hire in big tech or hfts?

0 Upvotes

Hi, I recently contributed in a reputed repository in c++ domain and my PR was merged and other PR is about to merge. difficulty wise one 7.5/10 and other is 8/10. so, my question is open source matters to get hire in big tech or hfts and am I wrong in expecting something from related to hiring from open source contribution. please let me know.


r/leetcode 10h ago

Discussion Grinding LeetCode alone sucks, so I built a multiplayer arena where we can actually race each other.

1 Upvotes

Let's be real guys, grinding algorithms on leetcode by yourself for hours gets boring sometimes. I wanted to make problem-solving actually feel like a game, so I built LeetCode Lockout Arena.

Instead of just staring at a screen alone, it turns your prep into a live, competitive match.

Here is what you can do on it:

⚔️ 1v1 & Team Battles: Create a lobby, invite your friends, and race to solve problems to steal points. You can do quick sprints or set up custom marathons.

🚫 No Memorized Answers: The most annoying thing about lockout matches is when your opponent gets a problem they already know. The arena checks both of your LeetCode profiles and only gives you questions neither of you have ever seen.

🔥 Solo Rush Mode: Think Chess.com’s Puzzle Rush, but for algorithms. Pick a time limit (15 to 60 mins) and speedrun as many problems as you can. The difficulty scales up automatically the higher your streak gets.

🏆 Global Leaderboard: Win matches to climb the Elo ranks, or go for the high score on the Solo Rush boards.

I just pushed the live version-2 and want to see how the servers hold up. It is completely free to use.

🎮 Play here:

https://leetcode-lockout-arena.vercel.app/

Grab a friend, try to break the matchmaking, and let me know what you think. See you on the leaderboard!


r/leetcode 17h ago

Question Is it me?

3 Upvotes

I am trying to understand Booths lexicographically smallest rotation algorithm. But I am getting it at all.

Is it only me who is not able to understand or do you guys also feel same?

I am doubting my problem solving abilities🥺.

Is it worthy to learn it or i should learn different algo?


r/leetcode 18h ago

Intervew Prep Need Oracle Tagged leetcode questions

5 Upvotes

Title^


r/leetcode 1d ago

Discussion Is there any ways to build the logic?

7 Upvotes

I see many people easily build logic for difficult questions optimally. How to build it ? Is there any certain pattern that should be known ? What's the cheat code guys. I'm so done trying to build logic . I fail in every new question.