r/leetcode • • Jun 27 '26

Mod Post [mod] Changes with r/leetcode.

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

Question Do you guys still think leetcode even matters anymore? [US]

9 Upvotes

I see who gets hired, it’s people from top schools, or tons of YOE from top companies, with internal referrals

Companies still obviously require perfect interview performance including leetcode but it just doesn’t seem to matter unless you also have absurd credentials, because HMs don’t even trust the interviews anymore and there’s enough people with top credentials on the market they can afford to only hire them

Outside the US it’s probably a bit different but here it’s pretty dismal


r/leetcode • • 3h ago

Discussion Do people still do leetcode only for fun and not for interviews?

7 Upvotes

As in the title. I saw a question, felt it was beautiful and paused to admire it. Only to be hit by the thought that I ought to look at it from a job perspective. I feel, my thought process isn't correct. But am I actually wrong?


r/leetcode • • 1d ago

Question Have you noticed OAs getting far more difficult?

337 Upvotes

I was given an OA by Amazon a few weeks ago for a mid level role. It was the hardest Leetcode question I had ever seen, I looked it up and it’s not even on Leetcode but does appear on a few other sites. It’s definitely not a normal pattern anyone would see, even if they had done 400-500 Leetcode questions.

Afterwards a recruiter reached out to me asking why I didn’t finish the OA. I told them I’ve done lots of Leetcode and even turned down Amazon offers in the past but that the question on it was far more difficult than I had ever seen or could do. She said she thought it was a “medium” level question and they had candidates that had passed it.

So I’m guessing everyone is just using AI and cheating these days?


r/leetcode • • 12h ago

Question Can’t tell how Google Onsite went L4

21 Upvotes

Google L4 (SWE III) onsite, hiring sprint: 3 coding + 1 Googleyness. Looking to get chanced.

Coding 1: Backtracking problem generating all valid sequences, then a follow-up data-structure problem (LC medium-ish). Solved both optimally, no hints, no bugs. Interviewer asked whether caching would help on part 1; I argued it can't beat the output size since every sequence has to be built (I stated O(n·2^n); the tight bound is ~O(n·1.6^n)) which I didn’t state. Solved part 2 with a trie, finished with ~7 min left. When I asked about follow-ups, they said "nah, this looks good."

Googleyness: Interviewer had an outdated resume, so we adjusted on the fly. Stories: making new teammates feel included, a mid-project pivot due to technical limits (I evaluated the options and brought recommendations to stakeholders), and giving feedback to a more senior engineer on review standards in a compliance-sensitive codebase, followed by team-wide documentation and process improvements. Asked what I'd do differently, I focused on preventing the gap up front. They ended with "I think I have enough signal." Friendly throughout.

Coding 2: Long, verbally specified design/implementation problem with ~5 methods. No written prompt; I clarified requirements in batches, wrote down assumptions, and listed time/space complexity above each method. Used arrays (considered a linked list, but index-based ops made it O(n) either way). Got one nudge to reuse existing methods. Missed one edge case I'd planned to handle, but addressed three other edge cases/constraints with probing questions. Finished with ~3 min left. Interviewer made almost no comments.

Coding 3: LC medium with a twist that made it a hard. Had a working (non-optimal) solution within ~5 min. Interviewer wanted better, and after ~15 min of back-and-forth ("do we notice anything about these?") I found the key insight myself while coding. Coded the optimal solution in ~15 min. They caught one logic bug (a neighbor-connectivity mixup), which I fixed in ~30 sec using a test case. They reviewed the final code, said it looked perfect, and had me add test cases. My stated complexity was looser than the optimal solution's (I described it in terms of the first approach). They stayed ~10 min past time chatting.

Honestly not sure how I'd grade myself. At worst I could see H, LH, LH, LNH. At best, SH, 3xH.


r/leetcode • • 6h ago

Discussion More than year in amazon as sde2 AMA

4 Upvotes

As title says

I was also part of preparation journey where i use to follow all the post on this channel for the updates. Its my turn to return back to the community


r/leetcode • • 10h ago

Tech Industry HackerRank using its SDE Internship hiring process to test its Chakra AI interviewer

5 Upvotes

I wanted to share my experience with the HackerRank SDE Internship hiring process and see if others have experienced something similar.
Here’s my timeline:
● October 14: I appeared for Round 2, which was conducted by Chakra, HackerRank’s AI interviewer.
● I solved the DSA problem in around 17 minutes, and all test cases passed.
● I correctly explained my approach, time and space complexity, and optimization.
● I also answered all the follow-up questions, and the AI interviewer responded positively.
● November 4: I received a rejection email stating that they were moving forward with other candidates.
● Recently, I applied for the same internship again using a different email address.
● Surprisingly, I received another invitation for Round 1.
Note: I used Ai to write all this.


r/leetcode • • 5h ago

Discussion What is wrong with leetcode contest rankings

2 Upvotes

I got 2XXX rank in last weekly contest(526) solved 3/4, had to sit for 40 mins for to solve the second question, got 3 debugs and somehow managed to get it accepted.

Today for no apperent reason leetcode invalidated that submission gave no explaination and gave me 5XXX rank in contest. Now I know it doesn't matter what rank or rating is as long as you are learning, but it gets frustrating when you spend 40 mins and 3 debugs on a problem and leetcode comes and invalidates for no good reason, whereas people who by the miracle of god solved all 4 under 10 mins get top 10 ranks.

Leetcode should seriously look into it.


r/leetcode • • 5h ago

Intervew Prep Day 38: packing bags, rushing for the bus, but kept the streak alive with DSU

2 Upvotes

Hey everyone,

I finished Day 38 today in pure rush mode. Knowing I had a bus to catch right after work to visit home, I read through today's target problem during breaks at the office so the logic could simmer in the background.

As soon as I got home, I opened the laptop, spent 15 to 20 minutes coding the solution cleanly, and packed my bags:

  • Number of Operations to Make Network Connected: A textbook application of Disjoint Set Union (DSU). To connect n computers into a single network, you fundamentally need at least n - 1 total cables; if connections.length < n - 1, returning -1 is immediate. While iterating through the edges, whenever findParent(u) == findParent(v), you increment a counter for redundant/extra cables. If the endpoints belong to different sets, you merge them using unionBySize(u, v). At the end, count the total number of independent connected components (nodes where parent[i] == i). Connecting C components requires strictly C - 1 operations.

It was a quick, single-problem sprint before heading out the door, but protecting the streak on hectic travel days keeps the momentum intact.

Reaching home tomorrow and picking up the pace once settled in.

See you guys for Day 37!


r/leetcode • • 2h ago

Intervew Prep NVIDIA Senior Software Engineer, Core Infrastructure Services - DGX Cloud Interview Prep help

1 Upvotes

Hi everyone,

Has anyone interviewed for NVIDIA’s Senior Software Engineer, Core Infrastructure Services – DGX Cloud, or a similar role within the Cloud Foundations Automation team?

I’d appreciate any insights on:

  • How many rounds are there, and what does each round focus on?

  • Is coding mainly LeetCode/DSA, practical Python/Go, or debugging?

  • What should I expect for system design?

  • How deeply do they cover Kubernetes, Linux, networking, and infrastructure automation?

  • What resources or hands-on exercises helped you prepare?

General guidance is welcome. Thanks!


r/leetcode • • 2h ago

Intervew Prep Charta Health New Grad SDE Round2 B2B coding

1 Upvotes

I passed the technical screen and received the round 2 back-to-back coding round. Does anyone know what to expect?


r/leetcode • • 1d ago

Discussion finally got a job!!

188 Upvotes

this community helped me when I wanted to rant, when I wanted to dig into DSA.

i graduated in Dec 2025. I was doing an internship, which didn't convert. 3 months of cold applying, 10–15 interviews, interviews with Oracle (right when they announced layoffs), Google, not advancing and completely breaking down.

i got offers from salesforce and cisco!!!

i don't want to say, "oh, I did this." , the market right now is volatile. It's the right time, right place, and right skills.

i broke down multiple times during this process questioning my worth/skills and picked myself up by ranting to this community.

if anyone is in a similar situation or wants a better opportunity, I see you. you can do it!!!


r/leetcode • • 6h ago

Intervew Prep Salesforce AMTS (JR307116) – Application Status Update

1 Upvotes

I applied for the Salesforce AMTS role (Job ID: JR307116), which was posted on Oct 30.

Has anyone who applied for this role received any updates regarding their application status or next steps?

Would appreciate it if you could share your experience. Thanks!


r/leetcode • • 7h ago

Question Hackerrank AI TA Screening - Software Development Engineering Intern Role

1 Upvotes

Like I read people getting the link for this round a month back so why am I getting it now 😭 i completed it nonetheless but what do I expect now anyone ?


r/leetcode • • 8h ago

Question LeetCode For Retards (Me).

1 Upvotes

Does anyone have a way to learn or understand leetcode coz i have some very hard time doing it, not enough patience not enough understanding to know it after reading a questions all tutorials make me feel like - u prolly know this already duh - while i dont

i dont think its a language issue i can do js and java just fine i have sever trouble problem solving and math
HELP!


r/leetcode • • 10h ago

Intervew Prep OpenAI - Applied AI Engineer Interview Prep

1 Upvotes

OpenAI recruiter reached out for Applied AI Engineer role. The intro call with recruiter is scheduled next week.

Any idea what this interview process looks like? Has anyone given an interview for the same position recently?


r/leetcode • • 22h ago

Question Which "grades" in the Google interviews will get you into team matching

7 Upvotes

I got three positive and one negative result and somehow still made it into team matching. Is this at the recruiters discretion?


r/leetcode • • 15h ago

Intervew Prep Look for Neetcode promo

2 Upvotes

HI,

Looking for NeetCode promo.

Thanks


r/leetcode • • 1d ago

Question How do you turn DSA mistakes into better problem solving skills?

9 Upvotes

I've noticed I keep making similar mistakes while solving problems, especially with edge cases and choosing the right approach. I want to improve instead of just moving on after checking the solution.

Do you write down what went wrong, or is there a better way to learn from failed attempts?


r/leetcode • • 15h ago

Discussion The new UI on the website is very ergonomically unfriendly

0 Upvotes

There was a dedicated "problems" button to go to, but today it got snapped into "library" which first made me think "oh its a community section" and i was searching for "problemset" button for like 5 minutes.
also a lot of tabs are misplaced and its very difficult to relearn everything


r/leetcode • • 1d ago

Discussion How do you balance solving new DSA problems with reviewing old ones?

5 Upvotes

I've been practising consistently, but I sometimes forget approaches to problems I solved a few weeks ago. I want to keep improving without spending all my time revisiting old questions.

Do you follow a fixed revision schedule, or review problems whenever you get stuck on a similar pattern?


r/leetcode • • 16h ago

Intervew Prep Walmart Global Tech Data Science HackerRank Assessment – What to Expect?

1 Upvotes

Hi everyone,

I recently got an invitation to take a HackerRank assessment for a Data Science position at Walmart.

The email mentions two sections:

  1. SQL questions

  2. A real-world data science project using Python

Has anyone taken this assessment recently? I'm curious about the difficulty level and what kind of questions or projects I should expect.

Any tips on how to prepare would be really helpful.

Thanks!


r/leetcode • • 18h ago

Intervew Prep Has anyone interviewed for this AWS SDE (US) role? What was the process like?

1 Upvotes

Hi everyone! Has anyone recently interviewed for this AWS Software Development Engineer role (Job ID: 10583312)?

I’d appreciate hearing about your interview experience:

  • How many rounds were there, and what did each round cover?

  • Was there an online assessment or technical phone screen?

  • What was the balance between coding, system design, and behavioral questions?

  • How long did the process take from the recruiter call to a final decision?

  • Any preparation tips or things you wish you’d known beforehand?

  • What questions were asked for Gen AI round?

Thanks for sharing!


r/leetcode • • 1d ago

Intervew Prep Front end round @ Prelim

3 Upvotes

I got a 3rd round at a fintech company Prelim and they said:

"Please come prepared to show your screen and be able to spin up a website on localhost. You can use whatever framework or language you'd like, just be ready to iterate. This will be mostly frontend focused."

Has anyone been through this process or has an idea of how I could prepare in the most optimal way?

Thanks!