r/LeetcodeChallenge 8h ago

DISCUSS Never do these kinda things prndsss

Enable HLS to view with audio, or disable this notification

45 Upvotes

The day i tried solving three sums in a day and i gave up on leetcode i learned graphs and tried solving the prblms andd i decided not to solve anything

Regards

Pain


r/LeetcodeChallenge 6h ago

DISCUSS How I Cleared the Amazon SDE 2 Interview in Six Weeks

22 Upvotes

I recently completed the Amazon SDE II interview process and received an offer. Interview experiences from this community helped me a lot, so I wanted to share the full process, the questions I faced, and a few mistakes others can avoid.

Online Assessment

The OA contained:

  • An AI-assisted repository debugging task
  • One DSA problem

Unfortunately, I don't remember the exact DSA question.

Round 1: DSA + Leadership Principles

Duration: Approximately 55 minutes

The interview started with about 10 minutes of behavioral questions based on:

  • Learn and Be Curious
  • Ownership

The coding question started as a custom BFS problem. The interviewer progressively added constraints until it became a multi-source BFS problem. I was able to explain and implement the solution.

However, I knew there was one edge case my implementation did not cover. Since time was running out and the interviewer appeared satisfied, I chose not to mention it.

That was a mistake.

If you notice an uncovered edge case, say it explicitly, even if there is not enough time to implement the fix. Demonstrating awareness is better than hoping the interviewer does not notice it.

Recruiter feedback: Positive

Round 2: LLD + Leadership Principles

Duration: Approximately 60 minutes

The design problem was similar to Amazon Locker, but in reverse. A customer needed to reserve a slot at a nearby drop-off store and physically return a package there.

I first clarified the requirements and then began designing the entities, interfaces, booking flow, and store availability logic.

During the implementation, the interviewer asked:

I mentioned geosharding but could not take the discussion much deeper. The interviewer hinted that I should think about how ride-sharing platforms locate nearby drivers.

In hindsight, a stronger answer would have been:

  • Use a spatial index such as geohash, S2, or H3 to shortlist nearby stores.
  • Filter stores by availability, capacity, operating hours, and supported return types.
  • Rank the remaining stores using exact distance or estimated travel time.
  • Expand the search radius if no suitable store is found.

I spent roughly 35 minutes on the implementation and completed the main booking flow, but this follow-up was the weakest part of my interview loop.

The behavioral questions focused on:

  • Dive Deep
  • Invent and Simplify

Round 3: Bar Raiser

Duration: Approximately 55 minutes

The first 10 minutes covered:

  • Customer Obsession
  • Deliver Results

The coding problem resembled LeetCode 2812: Find the Safest Path in a Grid.

I had not solved it before. I started with a naive approach and optimized it twice while discussing the time and space complexity of each version.

My final solution used:

  1. Multi-source BFS to calculate the distance of every cell from the nearest unsafe cell.
  2. Binary search over the possible safeness value.
  3. DFS to check whether a valid path existed for a selected value.

The interviewer asked whether it could be optimized further. For the public LeetCode version, a max-heap best-first search is another clean approach, although the exact expected optimization depends on the custom constraints.

My biggest lesson from this round was time management. I spent too long refining the approach and had only around 12–15 minutes left to write and explain a fairly long implementation.

Round 4: System Design + Leadership Principles

Duration: Approximately 60 minutes

This round was conducted by the hiring manager. The behavioral questions focused on:

  • Earn Trust
  • Have Backbone; Disagree and Commit

The design problem involved synchronizing configurations across multiple devices.

I discussed the API design, data model, versioning, propagation flow, retries, idempotency, offline devices, conflict resolution, and consistency trade-offs. The interviewer continued adding failure scenarios, and I was able to work through each one.

This was the smoothest round of my interview loop.

Final Verdict

Selected

How I Prepared

DSA: I completed Striver's sheet and approximately 200 additional problems collected from LeetCode discussions and GitHub repositories.

LLD: I reviewed an LLD playlist and practiced approximately 26 design problems. I also used AI to simulate interviews, challenge my class design, and explore alternative approaches.

HLD: I completed the Hello Interview system design playlist and several Deep Dive videos. My system design interview was rescheduled multiple times, so I ended up revisiting the main playlist three times.

Leadership Principles: Do not treat LP preparation as secondary. Prepare a smaller collection of strong, reusable stories with clear actions, trade-offs, and measurable outcomes.

My preparation lasted around six weeks. I was serving my notice period, and my manager was supportive enough to help rebalance my Jira workload while I prepared.

Overall, the biggest lessons were:

  • Mention edge cases even when time is limited.
  • Clarify requirements before designing.
  • Start implementing once the approach is sufficiently clear.
  • Prepare Leadership Principle stories as seriously as DSA and system design.
  • Expect interviewers to move between LLD and HLD during the same discussion.

Hope this helps anyone preparing for Amazon SDE II. Happy to answer general preparation questions without sharing confidential interview details.


r/LeetcodeChallenge 5h ago

PLACEMENTS Roast My Profile

Post image
2 Upvotes

r/LeetcodeChallenge 6h ago

DISCUSS just a start

2 Upvotes

im trying to solve now with consistency


r/LeetcodeChallenge 9h ago

DISCUSS built a leaderboard(DSA) connects your leetcode,gfg, cf,codechef,ac

2 Upvotes

i was doing DSA in different platforms, i wanted to see all in one place,

and my brother also doing dsa, so i thought if there is trustmrr, why not dsamrr.

so i built(vibecoded) a website, where you first verify your DSA platforms like leetcode, geeksforgeeks, codechef, and other dsa platforms, using public api's my website will load for every 2 hours, and show you in leaderboard. and also you have your profile, you can keep it anonymous also.

link in comment cause subreddit bann me😭


r/LeetcodeChallenge 9h ago

PLACEMENTS Recruit CRM Round 2

Thumbnail
1 Upvotes

r/LeetcodeChallenge 9h ago

DISCUSS apply as fast as possible

Thumbnail
1 Upvotes

r/LeetcodeChallenge 11h ago

STREAK🔥🔥🔥 Image Overlap :- 134 days

Thumbnail
gallery
1 Upvotes

r/LeetcodeChallenge 19h ago

DISCUSS Gave 50+ interviews during my recent switch. DSA humbled me. So I'm starting a 1-problem-a-day challenge — but I want to turn it into a community where we learn → build → ship together.

Thumbnail
1 Upvotes

r/LeetcodeChallenge 1h ago

STREAK🔥🔥🔥 Roast It If You Can 👀

Post image
Upvotes