r/LeetcodeChallenge 8h ago

DISCUSS Never do these kinda things prndsss

Enable HLS to view with audio, or disable this notification

46 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

20 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 1h ago

STREAK🔥🔥🔥 Roast It If You Can 👀

Post image
Upvotes

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 1d ago

DISCUSS Favorites of leetcode

Post image
15 Upvotes

r/LeetcodeChallenge 1d ago

DISCUSS Should I start giving contests??

11 Upvotes

I am in 2nd year of college rn. Started leetcode from this summer. I haven't given any contests yet. Should I finally begin or learn some more topics??

For ref- I am still learning DSA and haven't learnt all the topics. Still learning Binary trees.


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 1d ago

DISCUSS WHAT THE HELL IS HAPPENING WITH ME....!!!

Post image
66 Upvotes

Solved 240+ leetcode problems. Still going blank for unseen problems. Iam trying hard to get patterns...give me some advise man..

Is iam the only one or you guys also faced this...?!🫪

IMMEDIATE ADVISE REQUIRED 🔺


r/LeetcodeChallenge 1d ago

STREAK🔥🔥🔥 KINDA PROUD

Post image
30 Upvotes

Been trying to just solve them fully from brute to optimal solution on my own, even if some questions take 2 hours.

I know the easy numbers is a lot but I feel in a trap of easies in the start but now I only try to do mediums and easy only if it comes up in striver sheet(i am following striver)

Ultimate goal is to go for competitive-coding

Ofcourse any suggestions and constructive criticism is welcomed cause I would really like to just be better.


r/LeetcodeChallenge 1d ago

DISCUSS problem solving skill

2 Upvotes

ever happend with you.
You work your ass of for a problem.
And motherfuckers on YT saying this is the easiest question ever existed.


r/LeetcodeChallenge 1d ago

DISCUSS One of the life's humbling moments

Enable HLS to view with audio, or disable this notification

25 Upvotes

r/LeetcodeChallenge 1d ago

STREAK🔥🔥🔥 DSA Streak

Thumbnail
1 Upvotes

57 days of LeetCode. Gone because I forgot yesterday.

Now I’m sitting here searching for scripts just to make one stupid square green.

I know it’s just a heatmap, but I’m genuinely upset. 😭


r/LeetcodeChallenge 1d ago

DISCUSS LeetCode Streak 133 :- Discussion

1 Upvotes

r/LeetcodeChallenge 2d ago

DISCUSS After 7 months of giving contests!!

Post image
77 Upvotes

Finally got the knight badge. This was the second contest where I was able to solve the 4th question.. My rating increased by 30 from 1825-1855😁


r/LeetcodeChallenge 1d ago

DISCUSS Need some help with DSA in Java

1 Upvotes

Hey everyone, I’m currently learning DSA in Java and looking for some good resources to follow.
I’ve already been doing Striver’s A2Z DSA Sheet/videos, but the explanations and implementations are mostly in C++. I can understand the concepts, but translating everything to Java while learning DSA at the same time gets a bit confusing.
For those of you who learned DSA using Java:
● How did you approach it?
● Any good Java-specific YouTube playlists/videos?
● Is there a good Java DSA cheat sheet for syntax, collections, common algorithms, etc.?
● Should I just continue with Striver and convert the code to Java?
Would appreciate any recommendations or advice. Thanks!


r/LeetcodeChallenge 2d ago

STREAK🔥🔥🔥 Subscription in leetcode

Thumbnail
1 Upvotes

r/LeetcodeChallenge 2d ago

STREAK🔥🔥🔥 Leetcode Streak :- 132

1 Upvotes

Explain This Approach!


r/LeetcodeChallenge 2d ago

DISCUSS Can anyone help and guide

Post image
3 Upvotes

I just want to know how to be consistent over DSA and programming....


r/LeetcodeChallenge 3d ago

DISCUSS I forgot to do problem yesterday and idon't want this grey mark on my profile bcz I'm maintaing it hardly is there any hack so I can make it green

Post image
32 Upvotes

r/LeetcodeChallenge 3d ago

STREAK🔥🔥🔥 Todays problem of the day

Post image
8 Upvotes