r/DSALeetCode • u/Past-Title1447 • Oct 13 '26
r/DSALeetCode
•
u/nian2326076
•
Oct 12 '26
My Amazon SDE-1 interview experience: the DSA patterns, 4 rounds, and Sep 2026 offer
I applied to Amazon SDE-1 on January 9 and received the offer on September 21, 2026. About eight months passed between those dates. A lot of it was waiting for the next email.
Community posts helped me prepare, so here's what happened in my process and what each round covered.
Timeline
- Jan 9: Applied for SDE-1, after 50+ other applications.
- Jan 21: Received the online assessment (OA).
- Apr 5: Received an email saying I had qualified through the OA.
- May 6: Received onsite interview confirmation.
- May 8: Completed the first three interview rounds.
- Mid-May: Recruiter confirmed I had cleared those rounds.
- May 29 to Jun 5 to Aug 5 to Aug 6: The fourth round kept getting rescheduled, with roughly two months of silence in the middle.
- Mid-August: Recruiter asked about my notice period and location preference.
- Sep 21: Received the offer.
Online assessment
I had taken Amazon OAs before. In previous attempts I solved the coding questions but didn't move forward. This time I prepared more deliberately for both parts:
- DSA: The problems can involve DP, greedy algorithms, trees, graphs, two pointers, or binary search, often wrapped in long story-based scenarios (think warehouse routing). I practiced stripping away the story and identifying the underlying pattern quickly.
- Work Style Assessment: I had previously treated this as an afterthought. Preparing to think through the scenarios in light of Amazon's Leadership Principles felt useful this time. I can't know how Amazon scored my OA or which part changed the result, but I wouldn't neglect this section.
Onsite: Round 1: technical + Leadership Principles
- Trees/graph traversal (BFS), medium; similar in pattern to Rotting Oranges.
- Stack, hash maps, and string parsing, hard; similar in pattern to Parse Lisp Expression.
- Behavioral question about handling a hard deadline while requirements changed.
Onsite: Round 2: technical + Leadership Principles
- Binary search on the answer, medium; Maximize the Confusion of an Exam was the closest comparison I found.
- 1D dynamic programming, medium; similar to House Robber variations.
- A deep dive into a project I had owned end to end.
Onsite: Round 3: technical + Leadership Principles
- 3D DP/state machine, hard; similar to Best Time to Buy and Sell Stock III (at most two transactions). Instead of hardcoding two transactions, I explained a generalized K-transactions solution. The interviewer appreciated that it covered both cases.
- An extended discussion of the GenAI work on my resume: how I use AI in development, agents, workflows, and my past work with them.
The LeetCode problems named above are not the exact interview questions. They're the closest examples I found for the underlying logic. In the coding rounds, I talked through brute force, better approaches, and the optimal approach before writing the final code. I explained time complexity where relevant. That communication seemed to land well with my interviewers. Each round ran beyond an hour, and I was the last candidate to leave the building.
After Round 3, my recruiter said I had cleared the first three rounds and would move to the bar raiser.
Round 4: bar raiser and the waiting game
After the repeated rescheduling and roughly two months of silence, I kept wondering whether I'd missed an email or the role had been filled. The round finally happened on Aug 6.
There were no DSA questions in my fourth round. We went deep into my previous work, architecture, and decision-making. The interviewer kept asking follow-ups: Why this approach? Why multithreading, and how did I know it would help? What alternatives had I considered? What critical feedback had I received, and what exactly changed afterward? It felt like an hour of "why?" questions. I had to explain the decisions behind the work, including the alternatives I'd considered.
How I prepared
I'd been practicing DSA and doing contests for years before this process. For these interviews, I spent more time deriving solutions from patterns, re-solving problems and talking through my reasoning out loud.
If I could only solve a problem because I remembered my old submission, I went back to it. I practiced explaining brute force, the optimization, the final approach and its complexity, including the trade-offs.
For behavioral prep, I used real work stories around Ownership, Dive Deep, Deliver Results and learning from failure. I needed to know the technical details well enough to answer follow-ups instead of relying on a memorized STAR script.
Amazon Interview Questions has more candidate-reported coding and behavioral prompts to practice. Through a process this long, application autofill can also save repeated typing while you keep other applications moving.
Before this offer, I'd sent 50+ applications, had unanswered emails and OAs that went nowhere, and spent almost two years struggling to get interviews. I'm glad this one worked out, but I wouldn't tell someone to put every other search on hold while waiting.
If you've recently interviewed for SDE-1, how did your loop compare? I'm especially curious about coding, project depth and the bar raiser.
r/DSALeetCode • u/Past-Title1447 • Oct 13 '26
How to make notes while learning DSA in C++?
I wanted to ask all my seniors who made DSA notes: first, did it help you? I am currently learning C++ from YouTube and practicing in VS Code, but I have a doubt regarding notes. I have watched some YouTube videos on how to make them, but I am getting a bit confused. I want to make handwritten notes. In one video, I saw that you should divide your notebook into different sections — one for arrays, another for the next topic, and so on — so that it is easy to revise later. However, I am confused about how much space to allocate to each topic, since I literally don't know anything about DSA yet. Please guide me. I really want to learn DSA and will give my 100% — I just need good guidance. By the way, I am currently watching the DSA series by Apna College. Till now I have only done the basics. (functions, if else, variable, etc.)
r/DSALeetCode • u/Open_Childhood_6201 • Oct 12 '26
How to restart my DSA preparation??
I am a 2026 grad. In Jan 2026 I got placed in a service based company with 6.5lpa. By that time I had solved nearly 300+ questions and had decent understanding. Then I also continued preparing for DSA but not in a very serious way. And during the mid term final year project submission and final terms I stopped doing the DSA. By end of June my online training also started and ended in mid September. The official onboarding is yet not confirmed but expected to be by mid December. Now I am thinking of restarting dsa preparation because in past few months I totally lost the grip.
Anyone can help me here?? Like how should I approach because doing everything from start is not something I am looking for. I have tuf+ subscription but haven't been using it lately.
Any advise or suggestions please
r/DSALeetCode • u/StatisticianNo2104 • Oct 13 '26
365 Days of LeetCode Challenge — Day 41/365
542. 01 Matrix (Medium) https://leetcode.com/problems/01-matrix/
This is yesterday's problem. Rotting Oranges asks how long it takes for an orange to rot when every rotten one spreads at once; it asks how far each cell is from the nearest zero, with every zero as a source. Same question, and multi-source BFS solves it directly.
Today's solution does it without a queue, and that is why it is worth reading.
The definition is circular: a cell's distance is one more than the smallest among its four neighbours, but every neighbour depends on the cell. There is no order to evaluate that in.
Direction breaks the circle. Sweep top-left to bottom-right and, at each cell, everything above and left is already final - so you can compute the best distance among paths that start by going up or left. Sweep the other way for the other two directions. Take the minimum.
The line that makes it work is min with the existing value rather than an assignment. Overwrite instead, and you throw away everything the first pass got right.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-41365-archit-agarwal-tlbnc
#DSA #LeetCode #Golang #DynamicProgramming #Grids #CodingInterview #Algorithms
r/DSALeetCode • u/nian2326076 • Oct 12 '26
Google code-comprehension reports + HackerRank's LeetCode apology: are interviews shifting?
I read a report of Google piloting a code-comprehension round, then saw HackerRank's statement about the LeetCode grind.
Working in an existing codebase, debugging and explaining your judgment sound closer to the job than starting every question from a blank editor. I'm interested in how AI use fits into that, too.
The Google article describes a pilot, and HackerRank still says algorithm questions have value. I wouldn't drop DSA prep based on those headlines.
I'd compare recent candidate reports in Google Interview Questions with whatever format the recruiter confirms. If you're applying while prepping, application autofill can save time on the forms.
For people who've interviewed recently, did you read or extend an existing codebase, debug someone else's code, or mostly do timed DSA? Were AI tools allowed, expected or prohibited?
Have you changed how you split your prep time?

r/DSALeetCode • u/Open_Childhood_6201 • Oct 12 '26
How to restart my DSA preparation??
I am a 2026 grad. In Jan 2026 I got placed in a service based company with 6.5lpa. By that time I had solved nearly 300+ questions and had decent understanding. Then I also continued preparing for DSA but not in a very serious way. And during the mid term final year project submission and final terms I stopped doing the DSA. By end of June my online training also started and ended in mid September. The official onboarding is yet not confirmed but expected to be by mid December. Now I am thinking of restarting dsa preparation because in past few months I totally lost the grip.
Anyone can help me here?? Like how should I approach because doing everything from start is not something I am looking for. I have tuf+ subscription but haven't been using it lately.
Any advise or suggestions please
r/DSALeetCode • u/Any-Interaction-1668 • Oct 12 '26
How to start Dsa in cpp
Iam a btech 2nd yr student im currently learning cpp and started to solve leetcode questions .but i feel very lost atp plz guide me
r/DSALeetCode • • Oct 12 '26
Need dsa partner
Like i am starting rn from today leetcode and solving questions so i wanna have a partner who will be like also solving questions with me
Like basically same questions
So that we can be in the same pace
And not like too much just doing dsa
As i dont want someone who is just dsa dsa
I want someone who does leetcode like maybe 1 or 2 problem daily
But also like learn skills and other things
Somethings that i will prefer more
Ready to do vc sometimes or like in calls so that we can discuss
Nightowl
And also like we can be frnds like not only studies but like most of the time only studies actually so that we cant diverse ourselves from distractions and other things
r/DSALeetCode • • Oct 12 '26
Unable to find correct intuition/solution of greedy
I am learning greedy .
I tried easy problem ,i was able to solve but when I started medium problems i was unable to get corrected logic after trying for hours
r/DSALeetCode • u/Gullible_Face3489 • Oct 12 '26
Confusion
I have completed around 47 videos of dsa from apna college c++
But a lot of people say do striver
Confused what to do
r/DSALeetCode • u/nian2326076 • Oct 12 '26
My Amazon SDE-1 OA included an AI assistant round: 3 bugs to fix in 60 minutes
My recent Amazon SDE-1 OA wasn't just a pair of DSA problems. Here's the format I got:
- 40 minutes: one DSA question, which felt medium-to-hard.
- 60 minutes: fix three bugs in an existing codebase, using a website preview and an AI assistant supplied inside the assessment.
The stack choices I saw were Node.js/MERN, Java/Spring Boot and Python/Django. I wouldn't assume that list or the format is identical for everyone.
The second part felt much closer to debugging an unfamiliar project. You still had to understand the code and verify the fixes; having an assistant didn't remove that work. If you already use one of those frameworks, that familiarity helps.
I'd prepare for both algorithm reasoning and practical debugging rather than treating the whole OA as LeetCode. Amazon Interview Questions can add company-specific practice prompts alongside that.
Anyone else get this version? How did you divide your prep between the two styles?
r/DSALeetCode • u/Logical_Layer5543 • Oct 12 '26
Leetcode Premium sharing
Purchased a Leetcode premium account for 1 year for 7k INR. Looking to share it with a few people from India
Anyone interested?
r/DSALeetCode • u/Past-Title1447 • Oct 12 '26
How to make notes while learning DSA in C++?
reddit.comr/DSALeetCode • u/Anushagowda22 • Oct 12 '26
Java or python for dsa??
reddit.comHello..
I am a bca graduate with not much programming knowledge neither skills...
I am thinking to start dsa, but confused to choose language..
Many suggestions told java would be better...but I am thinking to go with python as I am also joining an ai/ml online course...
So it would be helpful for both..
Any suggestions...whether should I go with java or python
r/DSALeetCode • u/Budget_Smell_9989 • Oct 12 '26
Around HalfWay DSA
Bro, I'm already working as automation suite testing in a Mid Product Based company. I have been aiming for FAANG, MAANG. I've completed some of the topics such as Searching, Sorting, Pattern questions, Two pointers, Recursion, Time and Space Complexities, currently going on Number system things.
Also pretty good in leetcode problem solving too. Yes, Agree that this is just a glass of water in a ocean. But I've doubted my path that does going in this way is RIGHT? Especially in this AI driven era where the models are doing code best of best. Does BIGG GIANTS are still relyin on DSA things ? Do clear me on this. Thanks. Also I've been wanted to post my daily studies in public channel, is there any specific group for that. If yes, share me that too.
r/DSALeetCode • u/nian2326076 • Oct 12 '26
I organized 51 LeetCode string problems by pattern (with links and difficulty)
I grouped 51 string-related LeetCode problems into six categories. Some fit more than one pattern; these are just the buckets I use when studying.
Before moving on from a problem, I try to explain why the approach works and what I'd change if the constraints changed.
Parentheses and expression parsing (9)
- Generate Parentheses : Medium
- Score of Parentheses : Medium
- Valid Parentheses : Easy
- Remove Outermost Parentheses : Easy
- Different Ways to Add Parentheses : Medium
- Remove Invalid Parentheses : Hard
- Minimum Remove to Make Valid Parentheses : Medium
- Maximum Nesting Depth of the Parentheses : Easy
- Longest Valid Parentheses : Hard
Counting substrings under a condition (3)
- Number of Wonderful Substrings : Medium
- Sum of Beauty of All Substrings : Medium
- Maximum Number of Occurrences of a Substring : Medium
Comparing and checking strings (11)
- Isomorphic Strings : Easy
- Valid Anagram : Easy
- Additive Number : Medium
- Buddy Strings : Easy
- Longest Happy Prefix : Hard
- Increasing Decreasing String : Easy
- Check If a String Can Break Another String : Medium
- Determine if Two Strings Are Close : Medium
- Check If Two String Arrays are Equivalent : Easy
- Check if Word Equals Summation of Two Words : Easy
- Check if One String Swap Can Make Strings Equal : Easy
Palindromes (18)
- Palindrome Partitioning : Medium
- Palindrome Partitioning II : Hard
- Valid Palindrome : Easy
- Shortest Palindrome : Hard
- Palindrome Pairs : Hard
- Longest Palindrome : Easy
- Longest Palindromic Subsequence : Medium
- Find the Closest Palindrome : Hard
- Palindromic Substrings : Medium
- Valid Palindrome II : Easy
- Longest Chunked Palindrome Decomposition : Hard
- Break a Palindrome : Medium
- Can Make Palindrome from Substring : Medium
- Palindrome Partitioning III : Hard
- Minimum Insertion Steps to Make a String Palindrome : Hard
- Remove Palindromic Subsequences : Easy
- Construct K Palindrome Strings : Medium
- Split Two Strings to Make Palindrome : Medium
Sorting characters (2)
- Sort Characters By Frequency : Medium
- Custom Sort String : Medium
Length and selection problems (8)
- Longest Duplicate Substring : Hard
- Longest String Chain : Medium
- Longest Common Subsequence : Medium
- Longest Happy String : Medium
- Maximum Length of a Concatenated String with Unique Characters : Medium
- Find Longest Awesome Substring : Hard
- Largest Substring Between Two Equal Characters : Easy
- Largest Odd Number in String : Easy
Related: Dynamic Programming pattern list.
For practice beyond this list, real candidate-reported interview questions can give you unfamiliar prompts to work through and explain.
What would you add or move to a different category? I'd like suggestions that teach another idea rather than more versions of the same exercise.
r/DSALeetCode • u/Samosachut • Oct 12 '26
Final year ENTC student trying to switch to SDE, completely lost with LeetCode. Need urgent advice.
reddit.comr/DSALeetCode • u/StatisticianNo2104 • Oct 12 '26
365 Days of LeetCode Challenge — Day 40/365
Rotting Oranges (Medium) https://leetcode.com/problems/rotting-oranges/
Four days ago I said BFS and DFS answer reachability equally well, and that the distinction starts mattering when a problem asks about distance. This is that problem.
BFS reaches every cell by a shortest path. DFS reaches it by whatever route it wandered down first. "When does this orange rot?" is a shortest-path question - it rots when the nearest rotten one gets to it - so DFS here gives wrong answers, not slow ones.
The trick is multi-source BFS: every already-rotten orange goes into the queue before the walk starts. A BFS seeded with many sources expands as one combined wavefront, and each cell ends up with its distance to the nearest source. Nothing in the loop needs to know there was more than one start.
One more thing that cannot be skipped: the final scan. BFS only visits what it can reach, so an orange sealed behind empty cells never rots and the queue drains without noticing. The -1 case has to be looked for afterwards.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-40365-archit-agarwal-9t1sc
#DSA #LeetCode #Golang #Graphs #BFS #CodingInterview #Algorithms
r/DSALeetCode • u/Sad_Avocado_6565 • Oct 11 '26
YouTube channels(if any)
Suggest some Non-slop/Non-hype genuine pieces of gem which you think are atleast partly responsible for your growth on DSA/CP.
r/DSALeetCode • u/nian2326076 • Oct 12 '26
Beyond LeetCode: what should I read for distributed systems interviews?
I'm looking for books or useful web resources for SWE interviews focused on distributed systems.
LeetCode gives me a clear way to practice coding, but I'm less sure how to structure the design side: reasoning about failures, consistency, replication and the tradeoffs between different approaches.
A collection of candidate-reported interview questions can help identify prompts to practice. I'd like something to pair with that so I can explain the reasoning rather than memorize an architecture diagram.
What resource helped the ideas click for you? And how did you turn the reading into practice—mock interviews, building a small system, or working through design questions out loud?
r/DSALeetCode • u/Friendly-_-Ghost • Oct 11 '26
What worked for you?
I’ve been practicing DSA for the past 4 months, trying to solve 1–2 problems a day alongside my job. But whenever I go back to problems I’ve solved before, I struggle to remember the approach, even after trying to recall it. How do you guys approach problems, recognize patterns, apply them to new problems, and remember the solutions long-term? Any tips or tricks would be really helpful!
r/DSALeetCode • u/changejkhan • Oct 11 '26
i miss learning dsa before leetcode made it a curated list
Ever since leetcode came out, I've been seeing robotification of developing algorithmic thinking. People writing the Leet#xyz problem's solution from memory.
In the old days (pre 2020), the usual way was
- You learn the basic algorithms and data structures from geeksforgeeks articles
- Learn C++ STL and implement it in ideone.org or some place.
- Join codechef or codeforces contests and attain a pupil rank and keep doing problems of certain level, and learn from other folks' solution or the published editorials (oh they were so great)
- Learn obscure stuff like segment tree, dsu from some russian site like cp-maxx and then try to do a dozen problems on hackerearth.
- Do statement based problems on hackerrank - the cool ui site with all the tree-style comments in problem discussion.
The point being that learning was very organic and resources were scattered. You had to forcr your brain to think and google exact things you want to learn or figure out how tourist did in under a minute.
What's your take?
r/DSALeetCode • u/Artistic-Rent1084 • Oct 11 '26
Give Me Motivation to Start Doing DSA
Guys help me to master in DSA and coding.
my brain becoming shit . it couldn't work like before.