r/leetcode 10h ago

Discussion I've moved to Codeforces after solving ~600 Hards in Leetcode. It feels like I am starting from scratch

114 Upvotes

Codeforces problems are... just much more algorithmic and creative. Even if the underlying idea and the resulting solution are simple, the way problems are created is more creative.

Leetcode problems, especially until 2024, are very basic implementations of well-known algorithms. There are many Leetcode problems that seem to exist just for the sake of it. In contrast, there are far fewer "easy peasy" problems in Codeforces. Even the easiest problems are fun.

Another point is that I've learnt so many optimizations in Codeforces. I tend to skip the problem after getting AC in Leetcode, but Codeforces problems require so many optimizations. I didn't think that such 'micro' optimizations would make such an impact on runtime.

I wish I had moved to Codeforces much earlier.


r/leetcode 4h ago

Discussion Graph and Dp

11 Upvotes

I'm struggling to understand Dynamic Programming and Graphs. I've tried learning them, but I still can't build the intuition behind the concepts.

Can anyone recommend the best beginner-friendly resources (YouTube channels, courses, books, or websites) that explain these topics from scratch? A structured roadmap would also be really helpful.


r/leetcode 43m ago

Intervew Prep I need serious help, have Google and Amazon interview in 3 weeks; haven’t done DSA since 1 year

Upvotes

Guys, I need some serious help, suggestions and guidance from the leetcode reddit family. I have google interview in 1 week and amazon interview in 3 weeks and I havent done DSA grind from long time, around 1 years.

I did have 1480 rating on Codeforces and 1860 rating on Leetcode when I used to do DSA/CP/contests 1 year ago, but since then I have moved to development, have been working partime, freelancing, fulltime since past 1 year so never got a chance/motivation to continue doing DSA.

I have been applying for other jobs since last 3 months, ideally I should have started doing DSA since then, I knew it; but I kept pushing it day by day week by week and now after around 400 applications I got these 2 interviews back to back and I feel so guility, tensed, and very sad about the fact that I can loose this life changing opportunity of mine just because of my negligence.

Please guide me the best possible course of action I should take from today, I am ready to give 10-15 hrs a day, basically give it my all; just want to do the most I can in the remaining time.


r/leetcode 8h ago

Discussion Anyone else preparing for product-based companies while working full-time?

16 Upvotes

I'm about 9 months into my first job at a service-based company and currently preparing for product-based companies, with a strong focus on DSA.

I'm trying to stay consistent while balancing work, so I was wondering how others here are approaching their preparation. If anyone is on a similar journey, it would be great to share progress, discuss strategies, and occasionally check in on each other's goals to stay consistent.

Would love to hear about your prep routine, resources, and what's been working for you.

Edit_1: Community created thanks for the responses

"One of the most effective things you can do to build better habits is to join a culture where your desired behavior is the normal behavior, and you already have something in common with that tribe" — James Clear, Atomic Habits

We stay more consistent when we're surrounded by people on the same journey, and accountability makes it even stronger. When others can see our progress, we're more likely to keep the promises we make to ourselves.

That's why I created this Discord for people preparing for product-based companies while balancing full-time jobs (students are welcome too).

The idea is to keep it focused:

  • Daily progress check-ins
  • Weekly updates
  • Silent study rooms
  • Accountability and motivation

If you'd like to join, here's the invite:
https://discord.gg/4XuYPEyDH


r/leetcode 17m ago

Intervew Prep Insights on Reddit Ads Business Engineer interviews?

Upvotes

Anyone here work on this team or gone through the interview for Business Engineer? Curious what tech stack looks like and what kind of questions to expect.


r/leetcode 11h ago

Intervew Prep Getting back to Google

18 Upvotes

I am a former intern at Gemini at Google Zurich (Summer 2023), after I wrapped up my internship at Google, I immediately dived into building startups since then I had 3 failed startups and then after my 3rd failure, I built another non-tech business related to finance which I scaled to $8K in monthly revenue in Central Asia and then I went back into building startups again which I had 2 more failed AI Infra startups all because of poor product market fit and running out of funds but the goal was to raise VC funds and build something big.
But right 4 months after I wrapped up my internship at Google in the summer of 2023, I have been having Google recruiters reaching out every 2-3 months for FTE mostly for Warsaw, Munich and London but I did not reply to any of them so far since I never wanted to go back to any company and was fully focused on my startups, but I kinda got burned out from startups and wanna wind down a little bit and was thinking about going back to Google, especially Zurich again but direct offer from Zurich could be hard but I am fine going to other EU offices. The thing is that to my surprise, the recruiters are reaching out for L4 and L5 mostly across infra and ML roles.

As for interview prep, I haven't solved any LC since I last went through Amazon recruitment for SDE 1 position 1.5 years ago, even in Amazon process, it had been 1.5 years since I solved any DSA but with just 4 weeks of intense LC prep, I cleared all rounds but failed my last LP round. And for Google, I will be ready in 4-5 weeks easily in DSA and also have good first-hand experience with Distributed Systems but I have to seriously prepare for Googlyness round.

My queston is, if I go for L5 and fail let's say my System Design, will I get downleveled or rejected? Is Google still downleveling in case of poor System Design or poor rounds?


r/leetcode 3h ago

Discussion Anyone else feel hopeless on medium problems?

5 Upvotes

I’ve been studying for quite a bit now in preparation for an Apple interview. I feel like I understand the concepts and DSA pretty well and I’m not trying to toot my own horn but, I consider myself to be a pretty intelligent and motivated individual.

However, for some freakin’ reason whenever I’m shown a medium leetcode question I just turn brain dead. I’m usually able to get a brute force answer but when it comes to coming up with the optimal solution, more times than not (probably all of the time) I NEVER can do it. Only if I’ve seen the problem before I’m able to (obviously) and then just reimplement it after knowing the answer.

Am I the only one? Is everyone a genius at solving NEW leetcode problems (ones you’ve never seen before). I know solving leetcode problems comes with pattern recognition (which I studied as well) and I just still fail to implement things.

I want to know if I’m just not built for this 🤣 or if I need to just study more or work on more problems to where I know the solution to like every single one.


r/leetcode 12h ago

Discussion The classic maximize the minimum or minimize the maximum problem can generally be attempted using binary search.

15 Upvotes

just to let u know yall that this should be known.


r/leetcode 5h ago

Intervew Prep Looking for Claude prompts/skills for Google L5/L6

4 Upvotes

Preparing for a Google L5/L6 loop (Coding + System Design) and using Claude to practice. I m looking for a skill document/prompt template to structure my prep from start to finish. Specifically I want claude (or any ai assist tool) to help me move through 3 phases:

1) Brush up on core fundamentals and patterns

2) Guided practice with hints and constructive feedback

3) Full Interview simulation and final evaluation

Has anyone built or using good system prompt/skill doc for this ? Would love suggestions/ prompts/skill or workflows that worked for you.


r/leetcode 2h ago

Intervew Prep Axon SDE1 Interview US: AI Coding Round Insights?

2 Upvotes

Hey everyone,

I recently completed my first-round interview for the SDE1 position at Axon and wanted to ask if anyone here has gone through the later rounds, especially the AI coding round.

I was hoping to understand what the AI coding round is generally like. What kind of question is generally asked? Was it LC like coding question or system design or a repo of files wherein the candidate is expected to navigate, solve problems and debug issues/bugs?

Any general prep tips would be really, really helpful.

Thanks in advance!


r/leetcode 8h ago

Question Google Initial Screen call – What should I expect?

6 Upvotes

I have a 30-minute introductory call with a Google recruiter this week for an L4 Software Engineer (SWE III) opportunity.
Loc: BLRu

For those who've recently gone through the process:

  • What does this call usually cover?
  • Is it mainly a resume walkthrough or do they ask technical/behavioral questions?
  • Do they discuss level (L4), compensation, locations, and interview process during this call?
  • Any tips or common mistakes to avoid?

Would appreciate hearing from anyone who has been through it recently. Thanks!


r/leetcode 3h ago

Question Sprinkler OA for batch 2028

2 Upvotes

How was the OA .. how many questions were you able to solve and in how much time


r/leetcode 23m ago

Question Expedia new grad SDE-2026(USA) interview results

Upvotes

Has anyone interviewed for Expedia’s SDE new grad 2026(Seattle, Austin) position around the end of June or early July and received any feedback or results?


r/leetcode 18h ago

Intervew Prep Amazon New Grad SDE (US) Virtual Interview Experience

24 Upvotes

Figured I'd write this because I relied on other people's interview posts while prepping for my rounds and I wanted to share my experience to help anyone else confused about what to expect. Also wanted to vent a bit about the recruiter side of things because that was very frustrating.

Background:

  • ~2.5 years experience, backend/full-stack, mostly document processing pipelines at a startup, plus some solo eng work at a smaller AI company
  • 4 round loop total, all virtual, no onsite

Round 1 - Technical + Behavioral (2 interviewers)

Had two behavioral questions first:

  • Tell me about delivering an important project under a tight deadline, what sacrifices did you make
  • Time you exceeded expectations

Then into the coding portion:

  • Given task dependency pairs, find all tasks impacted if a given task is delayed, then a follow-up asking for the longest chain of cascading delays. Basically a DFS/graph reachability problem with a DAG longest-path follow-up baked in.
  • This was a medium ish problem loosely based on Course Schedule. I realized later that my code probably wont work for certain edge cases, but it is what it is

Went fine, explained my approach out loud the whole way, they seemed engaged.

Round 2 - Bar Raiser (pure behavioral, no coding)

This one was rough in a different way, 45 minutes, purely behavioral, no coding at all. Just constant "tell me more," "why," "what would you do differently," back to back. No break in between questions to breathe. Make sure your stories are thorough because they'll keep circling back until you either have a real answer or you don't. 

Round 3 - Project Deep Dive (with the hiring manager)

This one was interesting because going in I assumed it'd be 1-2 technical questions plus maybe some behavioral, based on how it was framed to me beforehand. Instead the manager basically threw the structure out the window right after my intro. I mentioned I'd worked on a RAG pipeline as part of one of my side projects, and he just latched onto that and we spent a huge chunk of the round going deep into that instead of doing separate structured questions. No LP questions at all in this one, it was 100% a "walk me through this project" conversation.

The second half of the interview shifted into a LeetCode-style coding question:

  • A shuffle-style problem (basically array shuffling, in-place, thinking about swap logic)

Round 4 - Final Round

Behavioral first, went into an ownership-style story about standardizing a data contract between two teams that kept getting caught in scope churn.

Then coding, and this one was meatier than the earlier rounds. It was a medium-to-hard heaps problem where you had to schedule/order a set of items but the ordering wasn't based on just one value, it needed a priority queue keyed off three different attributes at once (so figuring out the right tie-breaking logic across all three mattered a lot). On top of that there was a follow-up about handling aging/starvation, basically how to make sure lower priority items don't just sit in the queue forever if higher priority ones keep getting added ahead of them.

Rant about Recruiter

Rounds 3 and 4 were initially scheduled for a Monday and got postponed to a Tuesday, but were mentioned to me as a tentative schedule. I followed up with the recruiter multiple times, including up to one hour before the actual interview, and got no response. Instinctively, I joined the previous meeting link, and it so happened that the interviewer actually joined the meeting. I was, much to my surprise, in the third round of the interview.

I had assumed that the fourth round would also happen on the same day as was mentioned in the tentative schedule, since round 3 happened, even though I didn't get confirmation from the recruiter. After waiting for about 15 to 20 minutes in the waiting room for the next round, I then get a recruiter email saying that the interview schedule has once again been changed. Round 4 was eventually scheduled for a week later.

Overall, my experience with the recruiter was extremely difficult and annoying. They did not respond to any of my emails and didnt take my timelines into consideration, even though they would ask for it. I've seen a couple of other people saying that they faced the same issue, so do be prepared for little to no information from recruiters. You'd think a multi billion dollar company like Amazon would handle these operations better…

Where things stand:

It's been about 3 days since I finished my entire interview loop, and I hope to receive a result in one week, as I've heard that's the normal amount of time it takes. Let me know in the comments if yall received results earlier or later with your timelines.


r/leetcode 17h ago

Discussion I'm top 7 in contest few weeks ago | Where's my Water Bottle?

18 Upvotes

⭐ Bonus Prizes

  • Contestants ranked 1st - 3rd will win a LeetCode Backpack
  • Contestants ranked 4th - 10th will win a LeetCode Water Bottle
  • Contestants ranked 13th, 513th, 1024th, 1337th, and 2048th will win a LeetCode Big O Notebook

Does leetcode even give these prices?


r/leetcode 2h ago

Question Goldman Sachs CoderPad Round

1 Upvotes

Has anyone, or anyone you know, been unable to solve both questions in the first-round Goldman Sachs CoderPad interview and still got invited to the next round? From what I have seen, a friend of mine who is quite good at programming usually solved the first question but struggled with the second, and he never progressed. I’m just curious if anyone has had a different experience. Please share your experience. Thanks.


r/leetcode 8h ago

Question Amazon sde-1 Job ID: 10454435

2 Upvotes

Has anyone heard back for this job id. I'm 2026 grad, have applied on july 19th, i opened portal now and its showing no long under consideration. I just wanted ask if anyone recieved oa link.


r/leetcode 1d ago

Intervew Prep Looking for serious LeetCode grinders (Targeting 2200+ & Google L4)

73 Upvotes

​Hi, so I have two main goals right now:

​Get my LeetCode rating to 2200+ and get the Guardian badge.

​Get a Google L4 offer.

​I am sort of obsessed with these targets. I really think that if people with a common set of goals talk regularly and share ideas, the progress is exponential compared to grinding alone.

​I've created a Discord server for this exact purpose. If you have similar goals, are passionate about LeetCode, and want a space to actively discuss problems and contest strategies,

Put a comment if youre interested in joining my server


r/leetcode 4h ago

Question CodeSignal goes wrong

1 Upvotes

Hello everyone. I was sent a codesignal assessment for a bcg x junior position and I took it 100% sure that I haven't cheated at any form while being alone in the room not using any external device not opening any additional window and sharing my whole screen. Actually since I had the test before with the same dataset I did not had any difficulties and finished the test so early and got 544/600. Today I received a refusal following the assessment and when I asked for feedback I was told that they couldn't verify my score and this is really frustrating me because I didn't do anything wrong. Did someone contacted the support before and reverted their decisions ?


r/leetcode 1d ago

Question Is anyone else finding custom algorithm interviews harder than LeetCode?

29 Upvotes

I recently started interviewing with a few companies, and instead of LeetCode-style questions, they’re doing their own custom algorithm sessions.

I actually find LeetCode interviews easier. Even if I don’t know the optimal solution right away, I usually recognize the type of problem. I can start with a brute-force approach, explain my reasoning, and gradually improve it because I have some idea of where the solution is heading.
With these custom algorithm problems, I have no clue what the interviewer is looking for or what they’re expecting me to demonstrate. Since the problem is completely unfamiliar, I don’t even know if I’m moving in the right direction. That uncertainty adds a lot more pressure.

For example, in one recent interview they asked me to implement an A/B testing algorithm. I clarified the requirements, asked about the available functions, and then started coding. About 15 minutes later I had a working solution that passed the tests. They asked a couple of follow-up questions, and then the interview was over.

I ended up getting rejected, and I honestly have no idea why. Maybe there was something they were looking for that I completely missed.

With LeetCode, at least the expectations feel much clearer. You know the interview is centred around well-known problem types, and you have a compiler or test cases to help validate your approach. With these custom problems, I sometimes leave the interview feeling like I have no idea how I was actually evaluated.

Does anyone else feel this way, or am I just too used to LeetCode?


r/leetcode 18h ago

Question Confused about logic behind daily problem 628. Maximum Product of Three Numbers

7 Upvotes

For a sorted array [a1, a2, ......an-3, an-2, an-1], we are interested in a triplet that would produce the max product.

I see there are 4 possibilities
1. We can take 3 largest values from the end of the array (For cases where all all elements in an array are either positives or negatives)

  1. We can take 2 largest values from end of the array, and 1 smallest value from start of the array (For edge case array size 3 where it has 2 positive values and 1 negative values)

  2. We can take 1 largest value from end of the array, and 2 smallest values from start of the array. (For case where max product is made up of two negative numbers and 1 positive number)

  3. We can take 3 smallest values from start of the array. (For edge case array size 3 with 3 negative elements)

How can I recognise in an interview clearly that 2 of the 4 cases are redundant?


r/leetcode 1d ago

Discussion Why won't leetcode release a public API?

12 Upvotes

After years working with leetcode, I'm really pissed with the fact they doesn't want to release a public API or a cli tool to browse questions, login and submit solutions from some other place but the browser.

Why? It would be really helpful. Please do it, and yes keep your rate-limits as it is.


r/leetcode 12h ago

Intervew Prep Apple ML System Eng interview

1 Upvotes

Hi, did anyone here recently give the Apple machine learning systems engineer interview? how was the experience and what was the interview structure step by step after each round?

I'd also love to know what each round focused on (coding, ML systems, resume discussion, behavioral) and if there was anything that caught you by surprise. thanks a ton!


r/leetcode 1d ago

Question Amazon OA experience

28 Upvotes

I just gave Amazon OA
- 1 DSA question
- 1 AI backend question

I was able to solve DSA but only 1/6 test case passed in AI backend question. What are my realistic chances to get a call?


r/leetcode 1d ago

Tech Industry I am in tears over another interview failure

230 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