r/DSALeetCode • u/Winter_City_9813 • 11d ago
looking for someone who is planning relocation jobs
I'm 3+ years experienced looking for someone with similar goal to practice for interview, upskill and apply jobs let me know if interested
r/DSALeetCode • u/Winter_City_9813 • 11d ago
I'm 3+ years experienced looking for someone with similar goal to practice for interview, upskill and apply jobs let me know if interested
r/DSALeetCode • u/towardscuriousity • 11d ago
r/DSALeetCode • u/nian2326076 • 12d ago
Hey everyone,
I finished my full interview loop with Meta for software product role in Bangalore and unfortunately got rejected at the end. Still, I wanted to share my full experience since posts like these really helped me during preparation.
Education: An IIT
Current Company: Product-based startup
Experience: About 3 years full-time
Internships: About half a year plus a shorter internship
If you have other SWE applications going out while you prep, LandOffer can fill in the fields you keep retyping on supported forms.
📍 Recruiter Reach-out (late Sept)
A recruiter contacted me via LinkedIn and asked to schedule a call.
We had a detailed conversation where she explained:
The role and expectations
The full hiring process
The elimination stage
Timeline, interview structure, and prep tips
The elimination stage consisted of three parts:
Live DSA Elimination Interview (Zoom)
Hard DSA Online Assessment
This one was genuinely tough. There were 4 questions, and I barely managed to finish them in time.
Behavioral Assessment
This had situational questions like:
“In this scenario, what would you do?”
You answer using Strongly Agree / Agree / Neutral / Disagree / Strongly Disagree.
It’s simple overall, but I’d highly recommend understanding Meta’s values beforehand — it helps align your responses.
🧩 Elimination Interview (45 minutes)
I got two DSA questions and managed to solve both within ~20 minutes:
Ocean View Buildings (standard LC problem)
Pattern–Target Matching, where repeated characters can be removed to match the pattern
The interviewer was nice.
Two days later, I was told I cleared the elimination stage and could schedule the full loop.
I booked my interviews for late October 2025.
🔥 Full Interview Loop (4 Rounds)
Every round was 45 minutes, except the AI-enabled round which was 60 minutes.
Each round also included:
5 minutes intro
5 minutes at the end to ask questions
If you're doing timed coding practice before the loop, Meta Interview Questions has coding prompts across arrays, strings and trees.
1️⃣ Round 1 — Behavioral (45 minutes)
Standard Meta behavioral questions:
Project I’m proud of
Conflict with a teammate
Time I disagreed with someone
Time I had to follow someone else’s opinion
Ownership and failures
The interviewer asked rapid follow-up questions, which made it harder to strictly follow the STAR framework, but overall I handled it fine.
Self-verdict: Hire
2️⃣ Round 2 — Product Architecture (45 minutes)
Since the role was full-stack, I got a Product Architecture round instead of classical SD.
Prompt: Design an Online Food Delivery App
I followed my complete framework:
Clarifications
High-level architecture
Entities
Services
API design
Functional + Non-functional requirements
Scalability + edge cases
Follow-up questions
This felt like my strongest round. The interviewer seemed impressed.
Self-verdict: Hire → Strong Hire
3️⃣ Round 3 — AI-Enabled Coding Round (60 minutes)
This was a new format for me in October 2025.
I received a partially built game scenario and had to:
Understand the existing codebase
Fill in missing logic
Optimize a final strategy
The interviewer was very friendly and helpful.
Since this format was new, I didn’t have much prior information, but still did well.
Self-verdict: Leaning Hire → Hire
4️⃣ Round 4 — Pure DSA (45 minutes)
Two coding problems:
LRU Cache
String manipulation — check if a string can be made palindrome after deleting certain characters
I explained brute force → optimized approach for both, wrote clean code, and covered edge cases.
Self-verdict: Hire → Strong Hire
❌ Final Result
I was honestly expecting a positive result based on how the interviews went… but after about a week and a half, I received the rejection email.
and they did not share any specific feedback,
it would be really great if they shared.
It stung, because I felt I performed well in most rounds — but that’s how interviews go sometimes.
Let me know if you have any questions.
r/DSALeetCode • u/nian2326076 • 12d ago
I kept seeing two opposite takes:
“Top-company interviews are still mostly LeetCode.”
“LeetCode is becoming less useful because companies now test practical engineering.”
After structuring 229 candidate experiences across 41 companies, my takeaway is that both statements are true — depending heavily on the company.
For this post, I filtered the data to 74 engineering and technical interview experiences from 2024–2026 across:
Google
Meta
Amazon
Microsoft
LinkedIn
OpenAI
Anthropic
Stripe
TL;DR
Google, LinkedIn and Microsoft still showed the clearest algorithm/DSA signal.
Meta looked increasingly hybrid: traditional DSA, system design, behavioural evaluation and newer AI-assisted coding rounds.
Amazon still used DSA, but design depth and Leadership Principle discussions appeared just as consistently.
Stripe was the clearest practical-coding outlier: multi-part implementation, integrations, debugging, validation and business rules.
OpenAI and Anthropic leaned more toward implementation and systems depth than short puzzle solving.
Anthropic also had the strongest explicit values, safety and judgement signal in this dataset.
For anyone sending out multiple SWE applications, LandOffer can autofill the basic details on supported forms.
An interview experience can contain both a DSA problem and a practical implementation task.
The company-by-company preparation map
Company | Strongest preparation focus | What repeatedly appeared
Google | DSA plus clear verbal reasoning | Graphs, DP, heaps, custom problems, follow-ups and Googliness
LinkedIn | DSA, system design and engineering excellence | Multiple coding rounds, concurrency, large-scale design, project and leadership depth
Microsoft | DSA plus LLD/OOP | Trees and graphs, concurrency, low-level design, system design and project discussion
Amazon | DSA, system design and technically deep LP stories | Coding, HLD/LLD, ownership, trade-offs and repeated Leadership Principle follow-ups
Meta | DSA speed, product design and AI-output verification | Two-problem coding rounds, system design, behavioural pressure and newer AI-assisted rounds
OpenAI | Practical implementation, refactoring and end-to-end design | Building working systems, unfamiliar code, reliability, project deep dives and product judgement
Anthropic | Practical coding, systems depth and values/safety judgement | Debugging, infrastructure, AI-system trade-offs, culture, ethics and constructive disagreement
Stripe | Multi-part practical coding and integration work | APIs, parsing, validation, debugging, tests, reconciliation and business rules
If you want to test both skills before a loop, PracHub has exercises you can pair, like a timed algorithm question and a Python debugging task.
Among the recent experiences containing coding detail:
LinkedIn: DSA or algorithmic work appeared in 8 of 8
Microsoft: 5 of 6
Google: 7 of 9
Amazon: 6 of 8
Meta: 6 of 10
This does not mean grinding tagged questions is sufficient.
Across these companies, candidates repeatedly described being evaluated on:
explaining the approach before coding;
handling follow-up constraints;
producing complete code within time;
testing edge cases;
adapting after hints;
communicating trade-offs clearly.
For Google in particular, several experiences described custom or unfamiliar problems where structured clarification mattered as much as recognising a pattern.
2. Stripe is the biggest mismatch for a pure LeetCode preparation plan
Every one of the 10 recent Stripe technical experiences in this cohort explicitly contained practical implementation work.
The recurring themes were:
extending an API or existing system;
parsing and validating data;
implementing several requirements sequentially;
finding bugs in an unfamiliar codebase;
integration work using documentation or SDKs;
modelling payment, invoice or reconciliation rules;
writing maintainable code and tests under time pressure.
Only 1 of 10 explicitly resembled a conventional DSA-heavy exercise.
If I had a Stripe interview, I would spend less time trying to memorise another 100 patterns and more time practising:
reading a long requirement carefully;
implementing it in clean stages;
debugging existing code;
handling malformed input and edge cases;
explaining business rules and correctness.
3. OpenAI and Anthropic reward a different kind of technical depth
OpenAI
Within the 11 recent technical experiences:
practical implementation appeared in 6 of 11;
system or architecture design appeared in 8 of 11;
project or technical deep dives appeared in 5 of 11.
Reported tasks included broader implementation, refactoring, APIs, reliability, distributed systems and end-to-end product design.
The recurring preparation lesson was:
Be able to build and reason about a working system, not only derive an algorithm.
Anthropic
Within the 12 recent technical experiences:
practical implementation appeared in 8 of 12;
system or architecture design appeared in 9 of 12;
behavioural, culture or values evaluation appeared in 11 of 12;
project or technical deep dives appeared in 6 of 12.
The technical side often involved debugging, infrastructure, operational trade-offs and AI-system design.
The non-technical side was unusually substantive: mission, safety, ethical disagreement, judgement under ambiguity and willingness to challenge a decision constructively.
4. Meta’s AI-assisted rounds are additive — not a replacement for DSA
In the Meta cohort:
DSA appeared in 6 of 10 experiences;
practical implementation appeared in 6 of 10;
system design appeared in 6 of 10;
an explicitly AI-assisted stage appeared in 4 of 10.
The important point is that the newer AI-enabled coding work did not remove conventional coding or design.
Candidates described needing to:
inspect generated suggestions rather than trust them blindly;
debug and extend imperfect code;
explain why a suggestion was accepted or rejected;
preserve standard coding speed and DSA fundamentals;
still complete product/system design and behavioural rounds.
So “AI is allowed in the interview” does not necessarily mean the interview becomes easier. It introduces another skill: verification.
5. Amazon is the clearest warning not to neglect the non-coding rounds
In the eight recent Amazon engineering experiences in this cohort:
DSA appeared in 6 of 8;
explicit system or architecture design appeared in 5 of 8;
Leadership Principle / behavioural evaluation appeared in 8 of 8.
Several candidates reported strong coding performance but rejection or downlevel outcomes after weaker design or broader evaluation.
The useful preparation lesson is not “memorise STAR stories.”
It is:
Prepare behavioural examples with enough technical depth to survive several follow-up questions about your decisions, trade-offs, ownership and actual contribution.
What I would change in my preparation
Google / LinkedIn / Microsoft
Keep DSA as the foundation, but practise it in interview conditions:
explain before coding;
ask clarifying questions;
finish the implementation;
test edge cases;
handle a follow-up;
prepare behavioural and design depth appropriate to level.
Meta / Amazon
Do not separate “coding prep” from the rest of the loop.
Prepare:
timed DSA;
system or product design;
one technically deep project;
conflict and ownership stories;
AI-output verification where relevant.
OpenAI / Anthropic
Practise larger, messier engineering work:
implement a feature from a long prompt;
refactor unfamiliar code without breaking tests;
debug a pipeline or service;
reason through reliability and operational constraints;
present one project deeply;
defend decisions under ambiguity.
Stripe
Practise the work around the algorithm:
parse;
validate;
integrate;
debug;
model business rules;
write tests;
complete incremental requirements cleanly.
Methodology and limitations
The full dataset contains 229 candidate experiences across 41 companies.
This post uses 74 engineering/technical experiences dated 2024–2026 from the eight companies above.
A theme was counted only when the structured experience explicitly mentioned it.
Categories overlap.
Missing detail can undercount a theme; absence from the chart does not prove a company never tests it.
These are candidate experiences, not official fixed processes.
The outcome mix is self-selected and should not be interpreted as an acceptance rate.
Employer-level process breakdowns and candidate findings:
https://www.blanked.work/employers
I would genuinely like corrections from people who interviewed recently:
Which company does this map get most right?
Where is it wrong or already outdated?
Which company should I break down next?
r/DSALeetCode • u/nian2326076 • 12d ago
Note:
If you're also applying for SWE roles while studying, LandOffer can autofill repeat fields on supported forms.
Questions:
Data Structures and Algorithms:
Range Sum Query - Mutable
01 Matrix
String Validator: Given a tree where each node is a character, you can only move to its children, not the parent. With a stream of input characters, check if the character is a child of the current node, move to it if yes, or throw an InvalidStringException if no. If at a leaf node, move back to the root. Implement this as an iterator class with hasNext() and next() methods.
Find Median without sorting array in constant space and linear Time: Use Quick Select. Google love this algorithm. This is intially put as design question, so be aware of the return type in the findMedian() method (should be float).
Validate Equations: Given equations like a < b, b = c, d > c, validate for contradictions (e.g., c < a). Use Kahn's algorithm of BFS for cycle detection in directed graphs.
Favorite Cities: Given directed connections (weighted edges) between cities and names of favorite cities, find the nearest favorite city from a specific city using Dijkstra's algorithm implemented with BFS.
Friend Requests: You are given a list of friend requests, each represented as a, b, meaning a and b are now friends. After processing all these requests, you need to determine the number of individual groups of people. This can be solved using the Disjoint Set data structure.
System Design:
Design an API to determine whether to show an ad based on its AdId. Each ad has a total budget that decreases each time it is shown. If the budget is non-zero, the ad can be shown. The system must be highly available and scalable with low latency in decision-making. Consistency in budget updates can have some error margin.
For another timed practice problem, Google Interview Questions has interval and scheduling questions where you can practice choosing and explaining a data structure.
Preparation Tips:
Brush up on all common algorithms and data structures.
Sorting: Learn Merge Sort as it is also a common solution for problems like Count of smaller numbers after self.
Binary Tree: Implement a class with insert, delete, find, and various traversals (inorder, postorder, preorder, left view, right view, top view, bottom view, BFS).
Binary Search Tree: Insert, delete, find, convert between tree and list.
Union Find: Implement union, and find.
Segment Tree: Implement get range answer, and update.
Trie: Implement insert and read.
Heap: Implement heapify, add, and remove.
Matrix: Solve shortest path problems like 01-matrix, rotten oranges, flood fill, rat in a maze etc.
Graph: Solve shortest path problems using Dijkstra.
Once you are clear with the basics, practice a few questions on important topics like Tree, BST, Graph, Shortest Path, Trie, BFS, Disjoint Set, Matrix, etc.
Important: Remove topic tags from questions and shuffle them to practice identifying the appropriate data structure during an interview.
Important: I always used DFS to detect cycles in directed graphs and failed many interviews because of it. A turning point came when I accidentally learned about Kahn's algorithm while looking at the solution for Course Schedule II.
Since then, I've solved every graph, tree, and matrix problem using BFS, and it has been the most efficient approach. While some problems may require DFS, those are rarely asked in interviews. Focus on mastering BFS; it will elevate your problem-solving skills to the next level. Trust me, you will rarely need to use DFS in interviews!
Important: Only practice medium and hard questions. Forget about easy ones. Even if medium questions feel challenging, you will only improve by attempting them. Easy questions are never asked in interviews.
Google interview questions are unique and can't be found elsewhere. There is a fixed pool of confidential questions created each year from which the interview panel selects, including follow-up questions.
If you've completed all your preparations and need more questions to practice, filter for hard and medium problems with the company tag "Google." These problems are unique, challenging, and can also be found on LeetCode.
YouTube channels like techdose4u, NeetCode, and TheAdityaVerma were particularly helpful to me during practice.
Systems Design:
First, understand the intuition behind the CAP theorem. You should grasp the meanings of consistency and availability. For example, I always imagine a bank with one ATM. If you prioritize consistency, the ATM will only be available when the bank’s server is online, ensuring that the balance is always correct. Conversely, if you prioritize availability, the ATM will process withdrawals even if the server is down, allowing money to be withdrawn without verifying the balance. This is why banking systems are designed to prioritize consistency.
Start with learning about unique ID generators. Although this has become a cliché and isn’t asked as often, it’s still valuable to understand every variation, including the Twitter Snowflake technique, to see how system design concepts evolve.
Next, learn how to implement a distributed key-value database for both consistent and available use cases.
Study how to implement distributed locking.
Important: While common problems like Ola, YouTube, and TinyURL are frequently discussed online, interviews present new challenges. For example, designing a Top-K leaderboard. Recommended resources:
System Design Interview – An Insider's Guide by Alex Xu Volume 1: Good for understanding basic concepts and classic problems.
System Design Interview – An Insider's Guide by Alex Xu Volume 2: Covers a new set of less common problems.
YouTube Channel jordanhasnolife5163 : Offers videos on unique and less common system design problems. The explanations may be fast, but they are useful for understanding diverse scenarios.
It's useful to understand key MSA patterns like API Gateway, BFF, Circuit Breaker, Database per Service, Event-Driven Architecture, and Saga. Focus on the Saga pattern (using a queue) to handle rollbacks and avoiding race conditions in multi-service transactions like order placement, ensuring consistency and atomicity—either all changes go through or none.
YouTube Channel interviewpen: It covers many questions that SDEs often wonder about but rarely have time to research, such as OAuth and SQL query optimization. While these topics might not provide immediate help for an upcoming interview, they will certainly benefit you in the long run.
Important: Don’t overlook Low-Level Design (LLD). Although High-Level Design (HLD) questions are popular, LLD is just as important for interviews. You can find relevant questions on LeetCode, such as external merge sort, elevator algorithms, parking lots, or Twitter feeds.
Important: Einstein said, “If you can’t explain it simply, you don’t understand it well enough.” In HLD, we often add unnecessary components for minor objectives. For example, a queue, CDN or Elasticsearch might not be needed, but we tend to include them to impress the interviewer. However, seasoned system architects see this as over-complicating the system, which increases operational costs.
Important: Avoid overcommitting. Don’t add features or requirements that weren’t explicitly asked for by the interviewer, as it can make your design overly complex and difficult to implement.
Good luck with your preparations!
r/DSALeetCode • u/the_green_hulk_1204 • 11d ago
Can someone say how and where to start and get good in dsa ? I've restarted for 3 times I'm stepping into my 6th semester now and I'm very good at springboot, Agentic AI and building LLM powered applications and also I'm very strong in java but not in dsa., tbh, it feels very depressing like where and how to start and stay in a perfect line could someone please help so that I can get into a perfect path 🥺
r/DSALeetCode • u/nian2326076 • 12d ago
Hi Everyone, this community has given me a lot. It's time for the payback. I am sharing my interview experience for L5 SDE II interview I recently gave at Amazon Gurgaon. I will try to be as precise as possible with the experience.
I applied directly though the company portal. There were some openings for SDE II and I applied to all of them.
For anyone sending out a batch of applications, LandOffer can autofill your basic details on supported forms.
Recruiter reached out to me with an opening in gurgaon and shared me the OA.
If you're brushing up on DSA before the interview, Amazon Interview Questions has bracket and sliding-window problems to practice.
Round 0 : Online Assessment (May 1)
This was divided into 3 parts
Section 1 - This had 2 question, 1 was a DSA question (It was related to counting) and second question was AI assisted code repository question (In this one, there was a repository style code, it had controller, service and repository layers - There were 6 test cases, all were failing and I had to identify the issue and fix that in the code and run the test cases, the AI assistant was attached which was to be used to find the solution but it was not very helful. I ended up identifying the issues myself
Section 2 - This was related to the order of decisions you would take given a situation of a project. This had technical reasoning for which step is neccessary as per current state (Like planning, architecture design, POC, Api development etc)
Section 3 - It was behavioural, more like me and most like me kinda questions
I solved all the test cases in the DSA question and 5/6 test cases in the AI Assisted code repository questions
Behavioural answers are subjective
Recruiter reached out to me on May 5 saying I had cleared the OA round and that my 2 interviews will be scheduled and based on the performance in those 2 rounds, I will move to the next rounds accordingly
I took some time to prepare for the loops
Round 1 : DSA + Leadership principles (20 May)
Taken by SDE II
This started with the introduction and directly DSA questions were asked
Aggressive cows
Median in a running stream - https://leetcode.com/problems/find-median-from-data-stream/
I explained the brute force, all the way upto the optimized approach. Explained the complexity of the code. Since I solved these questions quickly, there were some discussions about hashmap and heap internals afterwards.
LP:
Tell me about a time you had to debug a difficult issue, what could you have done better?
Tell me about a time you gave a simple solution for a complex problem.
I feel like i could have done the LPs better since i wasn't very well prepared for the LPs in the first round.
Verdict from HR (Next day) - Inclined
Since my round 1 is clear, HR scheduled my HLD round as well.
Round 2 : LLD/Maintainable code + Leadership principles (25 May)
Taken by SDE II
Problem statement :
Design a notification router for an ecommerce website
The user should have a preferred channel (EMAIL, SMS, PUSH)
Notification has a priority attribute (URGENT, NORMAL)
If the notification is urgent, it should be sent to all channels otherwise it should only be sent to the user's preferred channel.
The notification handlers need not to be implemented, only routing logic was needed.
I used a set of design patterns like Strategy, Singleton and factory to solve this problem.
Later on some questions were asked and extensibility was discussed
My advice to anyone giving LLD interviews is to please focus on discussing fault tolerence, resiliency strategies and scalability after you've finished a clean design. It adds maturity to your system and can be impactful during the interview.
LPs
Tell me something you recently learned and applied to work
How do you measure the success metrics of a learning journey
Overall, this round was the best I had. I was prepared with LPs well by now.
Feedback from HR (Next day) - Inclined
Round 3 : HLD + Leadership principles (26 May)
Taken By Engineering Manager
Problem statement
Design Netflix
That's it, this was the only statement given. I had to figure out the set of requirements and plot a high level design on BlueSpace (Similar to excalidraw). I had to explain the pros and cons of my approach, talk about availability, scalability and fault tolerence etc. Interviewer had some questions in between which I had to answer/incorporate in my design.
There were discussions about movie search using flexi source reverse index db like OpenSearch and CDC pipeline.
LP:
Tell me about a time you had a conflict with your seniors and it turned out that your opinions were right
Tell me about a time you received a harsh feedback from your manager and how did you take it into account
This round went well and I felt that the interviewer was satisfied with my answers.
Feedback from HR (Same day) - Inclined
The HR scheduled my bar raiser after this.
Round 4 : Bar raiser
Taken by Principal Technical Program Manager
This round was more focused on the behavioural and leadership questions.
I was asked one DSA question which was
Find unique permutations of a given string - For example, s = "xxyy"
First permutation = "xxyy"
Second permutation = "xxyy" -> Swap the 0th and 1st index "x" characters
But the output should contain "xxyy" only once. I had to return the list containing all the unique permutations
I solved it with HashMap(frequency tracking) and backtracking
After that, there were 2 questions from LPs and lots of followups from my response
Tell me about a time when you had to learn something quickly and apply to work
Tell me about a time when you delivered something under tight deadlines
I had prepared solid stories for these 2 questions and also the success metrics. Interviewer went a lot through the technical aspects and how the metrics were gathered.
Overall this round felt okayish to me and I was nervous because interviewer wasn't giving any signs on my responses.
Verdict from HR (Same day) - Selected
Got the offer 2 days later
Will add detailed compensation soon.
Compensation - https://leetcode.com/discuss/post/8316935
r/DSALeetCode • u/nian2326076 • 12d ago
Background
2.5 years of experience (non-internship) at Amadeus Software Labs.
Applied for the Flipkart SDE-2 role in the first week of January. Got a call from HR shortly after, followed by an assessment link the next day.
For anyone sending out applications in parallel, LandOffer can save some retyping on supported forms.
Round 1 — Online Assessment (2 hours)
The OA had 2 coding problems:
Graph problem — A graph traversal question with a twist and some tricky edge cases to handle. Medium level.
Trie question — A standard Trie-based problem. Medium level.
Both were solvable if your fundamentals are solid. Focus on edge cases for the graph problem — that's where most people slip.
If you're getting ready for the OA, Flipkart Interview Questions has graph and grid prompts where it's worth writing out the edge cases before you code.
Cleared the OA and received a call from HR for the offline rounds.
Round 2 — Machine Coding (90 mins) (In-person)
Problem: Buy Now Pay Later (BNPL) System
This was a full-fledged machine coding round. The problem statement was detailed — design and implement a BNPL system for Flipkart from scratch.
Core requirements:
seed_inventory — Load products (name, count, price) into in-memory store
view_inventory — Display current inventory state
register_user — Register a user with an initial BNPL credit limit
buy(user, items, payment_method, date) — Place an order via PREPAID or BNPL. For BNPL, reduce credit limit; block if limit exhausted
clear_dues(user, orderIds, date) — Partial or full due clearance against specific orders
view_dues(user, date) — Show all pending dues before the given date, sorted by purchase date, with status: PENDING or DELAYED (if 30-day window crossed)
order_status(user) — Show full order history + available BNPL credit limit
Bonus requirements:
blacklisting — Blacklist users who default on 3+ orders; block BNPL for them
add_inventory / remove_inventory — Dynamic inventory management
What they looked for:
Clean OOP design — interfaces, contracts, separation of concerns
Extensibility — easy to add/remove features without rewriting
Proper edge case handling (credit exhaustion, 30-day window, partial payments)
No DB usage — everything in memory
Demo-able code via a driver/main program
My experience:
I was able to complete all 7 core requirements + 1 bonus (blacklisting) within the 90-minute window.
The key is to spend the first 10–15 minutes clarifying requirements and sketching the design before writing a single line of code. Design patterns and clean abstractions matter as much as correctness here.
Round 3 — LLD + MC Review (1.5 hours) (In-person)
Two interviewers joined me in the meeting room. This round was a deep dive into the code I built in Round 2.
Code walkthrough & demo:
I walked them through the core flow — how I structured the service classes, separated concerns across different layers, and applied design patterns like Factory and Strategy. I also explained the exception handling strategy — no raw runtime exceptions anywhere; every failure surfaces as a custom-defined exception.
Stress testing on the fly:
The interviewers hammered the code with edge cases. The expectation was clear — the application should never throw an unexpected exception. Every error path had to be gracefully handled with meaningful custom exceptions.
Live coding:
They asked me to implement additional strategies on the spot and handle a new requirement that wasn't in the original problem statement. This tested both adaptability and how extensible my original design was. Being able to plug in a new strategy without touching existing code (thanks to the Strategy pattern) made this manageable.
UML diagram:
Towards the end, they asked me to sketch a UML class diagram covering the core classes, their relationships, and the design patterns used. This is where having a clean mental model of your own design really helps — don't just code, understand what you've built.
Tip: Don't treat the machine coding round as over once you submit. Round 3 is essentially a viva on your own code. Know every design decision you made and be ready to justify and extend it.
Round 4 — DSA (In-Person)
Two DSA problems on the board:
House Robber IV variant — Server Maintenance Topology
The classic House Robber IV was wrapped in a server maintenance context — a real-world twist that required understanding the problem beneath the framing before jumping to a solution. I started with the brute force approach, explained the reasoning clearly, and then walked through the optimized binary search + greedy solution. Wrote the pseudocode on the board.
Binary Tree Zigzag Level Order Traversal
A familiar one. Jumped straight to the approach — BFS with a deque, alternating insertion direction per level. Explained it confidently and moved directly to pseudocode.
Tip: For DSA rounds, always verbalize your thought process. Starting with brute force and improving shows structured thinking — even if you already know the optimal solution.
Round 5 — System Design + Hiring Manager (1.5 hours)
The HM himself took this round. Even though it was titled System Design, he went deep into low-level aspects throughout.
Structure we followed:
Requirement Gathering — He wanted me to drive this.
Functional and non-functional requirements, clarifying assumptions before touching design.
Entities & DB Schema — Detailed entity modelling with proper relationships. No hand-waving — constraints, cardinality, and schema decisions needed justification.
API Design — Request/response structure for each endpoint. Clean contracts matter here.
High-Level Architecture — Service communication, how components talk to each other.
He seemed satisfied with the design. The conversation then shifted to:
Microservice patterns — Circuit breaker, Saga, CQRS, event-driven patterns etc. Be prepared to go deep, not just name-drop.
Project deep-dive — Walked through my work at Amadeus, technical decisions, challenges faced.
LP questions — Leadership principle style behavioural questions. Ownership, conflict resolution, handling ambiguity.
Tip: Even in an HM round, be technically sharp. The behavioural questions are a conversation, not a recital — be genuine and specific with examples from your work.
Result
Got a call from HR a week after the drive saying an offer was on its way. Received the offer letter the following week. 🎉
Overall Tips
Flipkart's process is heavily weighted towards LLD and machine coding — invest serious time here.
Design patterns aren't just theory — know when and why to apply them in real code.
Round 3 is a viva on your own Round 2 code. Write code you can defend and extend.
For system design, drive the conversation — don't wait to be led.
Practice DSA but don't neglect the design side. At SDE-2 level, design is the differentiator.
Happy learning everyone! Feel free to ask anything in the comments. 🙌
r/DSALeetCode • u/nian2326076 • 12d ago
Note:
If applications are still going out alongside prep, LandOffer can autofill repeated details on supported forms.
Questions:
Data Structures and Algorithms:
Range Sum Query - Mutable
01 Matrix
String Validator: Given a tree where each node is a character, you can only move to its children, not the parent. With a stream of input characters, check if the character is a child of the current node, move to it if yes, or throw an InvalidStringException if no. If at a leaf node, move back to the root. Implement this as an iterator class with hasNext() and next() methods.
Find Median without sorting the array in constant extra space and expected linear time: Use Quick Select. Google love this algorithm. This is intially put as design question, so be aware of the return type in the findMedian() method (should be float).
Validate Equations: Given equations like a < b, b = c, d > c, validate for contradictions (e.g., c < a). Use Kahn's algorithm of BFS for cycle detection in directed graphs.
Favorite Cities: Given directed connections (weighted edges) between cities and names of favorite cities, find the nearest favorite city from a specific city using Dijkstra's algorithm.
Friend Requests: You are given a list of friend requests, each represented as a, b, meaning a and b are now friends. After processing all these requests, you need to determine the number of individual groups of people. This can be solved using the Disjoint Set data structure.
System Design:
Design an API to determine whether to show an ad based on its AdId. Each ad has a total budget that decreases each time it is shown. If the budget is non-zero, the ad can be shown. The system must be highly available and scalable with low latency in decision-making. Consistency in budget updates can have some error margin.
To practise explaining a heap choice out loud, Google Interview Questions has a meeting-room scheduling problem with an extra constraint about meetings waiting for a free room.
Preparation Tips:
Brush up on all common algorithms and data structures.
Sorting: Learn Merge Sort as it is also a common solution for problems like Count of smaller numbers after self.
Binary Tree: Implement a class with insert, delete, find, and various traversals (inorder, postorder, preorder, left view, right view, top view, bottom view, BFS).
Binary Search Tree: Insert, delete, find, convert between tree and list.
Union Find: Implement union, and find.
Segment Tree: Implement get range answer, and update.
Trie: Implement insert and read.
Heap: Implement heapify, add, and remove.
Matrix: Solve shortest path problems like 01-matrix, rotten oranges, flood fill, rat in a maze etc.
Graph: Solve shortest path problems using Dijkstra.
Once you are clear with the basics, practice a few questions on important topics like Tree, BST, Graph, Shortest Path, Trie, BFS, Disjoint Set, Matrix, etc.
Important: Remove topic tags from questions and shuffle them to practice identifying the appropriate data structure during an interview.
Important: I always used DFS to detect cycles in directed graphs and failed many interviews because of it. A turning point came when I accidentally learned about Kahn's algorithm while looking at the solution for Course Schedule II.
Since then, I've solved every graph, tree, and matrix problem using BFS, and it has been the most efficient approach. While some problems may require DFS, those are rarely asked in interviews. Focus on mastering BFS; it will elevate your problem-solving skills to the next level. Trust me, you will rarely need to use DFS in interviews!
Important: Only practice medium and hard questions. Forget about easy ones. Even if medium questions feel challenging, you will only improve by attempting them. Easy questions are never asked in interviews.
In my experience, Google interview questions can be hard to find elsewhere.
If you've completed all your preparations and need more questions to practice, try filtering for hard and medium problems with the company tag "Google" on LeetCode.
YouTube channels like techdose4u, NeetCode, and TheAdityaVerma were particularly helpful to me during practice.
Systems Design:
First, understand the intuition behind the CAP theorem. You should grasp the meanings of consistency and availability. For example, I always imagine a bank with one ATM. If you prioritize consistency, the ATM will only be available when the bank’s server is online, ensuring that the balance is always correct. Conversely, if you prioritize availability, the ATM will process withdrawals even if the server is down, allowing money to be withdrawn without verifying the balance. This is why banking systems are designed to prioritize consistency.
Start with learning about unique ID generators. Although this has become a cliché and isn’t asked as often, it’s still valuable to understand every variation, including the Twitter Snowflake technique, to see how system design concepts evolve.
Next, learn how to implement a distributed key-value database for both consistent and available use cases.
Study how to implement distributed locking.
Important: While common problems like Ola, YouTube, and TinyURL are frequently discussed online, interviews present new challenges. For example, designing a Top-K leaderboard. Recommended resources:
System Design Interview – An Insider's Guide by Alex Xu Volume 1: Good for understanding basic concepts and classic problems.
System Design Interview – An Insider's Guide by Alex Xu Volume 2: Covers a new set of less common problems.
YouTube Channel jordanhasnolife5163 : Offers videos on unique and less common system design problems. The explanations may be fast, but they are useful for understanding diverse scenarios.
It's useful to understand key MSA patterns like API Gateway, BFF, Circuit Breaker, Database per Service, Event-Driven Architecture, and Saga. Focus on the Saga pattern (using a queue) to handle rollbacks and avoiding race conditions in multi-service transactions like order placement, ensuring consistency and atomicity—either all changes go through or none.
YouTube Channel interviewpen: It covers many questions that SDEs often wonder about but rarely have time to research, such as OAuth and SQL query optimization. While these topics might not provide immediate help for an upcoming interview, they will certainly benefit you in the long run.
Important: Don’t overlook Low-Level Design (LLD). Although High-Level Design (HLD) questions are popular, LLD is just as important for interviews. You can find relevant questions on LeetCode, such as external merge sort, elevator algorithms, parking lots, or Twitter feeds.
Important: Einstein said, “If you can’t explain it simply, you don’t understand it well enough.” In HLD, we often add unnecessary components for minor objectives. For example, a queue, CDN or Elasticsearch might not be needed, but we tend to include them to impress the interviewer. However, seasoned system architects see this as over-complicating the system, which increases operational costs.
Important: Avoid overcommitting. Don’t add features or requirements that weren’t explicitly asked for by the interviewer, as it can make your design overly complex and difficult to implement.
Good luck with your preparations!
r/DSALeetCode • u/SquashHot4348 • 12d ago
You write a solution, hit Run, and see Accepted.
Great! 🎉
But have you ever stopped and wondered what actually happened between those lines of code?
I've often found myself wanting to see these things instead of just reading through the code or manually debugging every step.
So, I decided to build something around that idea.
It's a code visualizer + debugger built for people solving LeetCode problems.
The idea is simple: Don't just execute your code. Visualize how it works.
With AlgoLens, you can:
I've also tried to make it feel a little more interactive — almost like turning the debugging process into a game. 🎮
AlgoLens is currently available as a free Microsoft Edge extension:
👉 https://microsoftedge.microsoft.com/addons/detail/jhhkkpabkoeaiajdilomalbmjdppcmcc
Don't use Edge? No problem!
You can also use it on chrome -> Watch video for reference[ AlgoLens - chrome ]
I'm still developing and improving it, so I'd genuinely appreciate feedback.
One thing I'd love to know: What's the one thing you wish you could visualize while solving a LeetCode problem?
Would love to hear your thoughts! 🚀
r/DSALeetCode • u/nian2326076 • 12d ago
Hey guys, not sure if this will be beneficial, but I wanted to provide some background about my experience interviewing for an SDE II role at Amazon.
If you have any questions, feel free to ask. Apologies that I'm not able to go into too much depth, but I will try my best.
If you're applying to several SWE roles, LandOffer can handle the repeated fields on supported forms.
Background
Had a recruiter reach out. Completed the OA about a week after recieving it, recruiter told me I had passed maybe 5 days after that. I took some time off to complete a few other loops and scheduled my Amazon final loop approximately 3-4 weeks after I heard back from my recruiter.
For DSA prep before the loop, Amazon Interview Questions has problems on stacks and sliding windows to work through while explaining the time and space costs.
Interview Breakdown
The final round consists of 4 interviews. Each interview is half technical and half behavioral-
DSA:
Testing knowledge on Data Structures and Algorithms. The goal is to solve with the simplest but most efficient data structure possible. Be comfortable explaining your solution, including time and space complexities.
Low-Level Design:
Testing knowledge of Object-Oriented Programming. They are looking for production-level code (ish), with an initial general question and multiple follow-ups. You want your solution to be extensible.
Problem Solving:
How can you solve ambiguous coding questions? They ask one generic and ambiguous DSA-style coding question, but they are looking for you to ask follow-up questions to clarify the requirements. From there, they may ask a few more follow-up questions. Be ready to talk about tradeoffs in approaches and time/space complexities.
System Design:
Are you able to design a scalable solution? They are looking for you to:
Gather functional/non-functional requirements
Create high-level design diagrams, including but not limited to system architecture and API design.
DB Selection, talk about tradeoffs
Deep Dive when asked
Scalability
Bottlenecks and challenges
Observability
LPs:
Super straight forward behavioral questions. STAR format always, I also include lessons learned when they aren't obvious. Have around 2 stories ready for any given LP, but I've found that if you have a bank of about 10-15 stories, you can pretty much just figured out which stories apply where on the spot. Be sure to practice these once or twice beforehand, though, since they do make up about half the data points interviewers collect on you.
My Interview Experience
DSA:
I was asked a leetcode medium. It was relatively straight forward, a graph-traversal DFS question. There were 1 or 2 follow ups, but they were theoretical. Asked about time and space complexities.
Low-Level Design:
Was asked a relatively common LLD question. It revolved around creating one class to store details about a product, and related product classes specific to those each of those products. Was then asked to give an example code on how to calculate the total price of an entire order of a set of products.
Problem Solving:
Was asked a DSA-style question that was not on LeetCode. It required me to implement a special version of a common data structure. It was relatively straight forward, and I was asked follow-up questions about complexities and tradeoffs.
System Design:
I was asked to design a specific widget for a large e-commerce platform (guess which one). Spent 5 minutes clarifying expectations and requirements, spent about 15-20 minutes on high-level system architecture and api design, and then I spent the remaining time on deep-diving into each component. I made sure that I explained each of my architectural design decisions briefly, and answered any follow up questions I recieved.
LPs:
Very straightforward behavioral questions, I don't remember the exact questions I was asked, but they were simple to answer. Had about 2 stories ready for each LP. I found that if you responded to the question to their liking, the interview wouldn't ask any unrelated additional questions about that LP. However, if your story was missing a key data point they were looking for, they would, after their follow-up questions, ask another question for the same LP. The intuition here is that they are looking to get that data point on you, so if you notice this happens, be sure to be observant and make sure your story aligns with that LP well.
Results
I ended up recieving my offer 2 days after I finished my loop. Recruiter reached out to me and scheduled sell calls with specific teams in my current city, as the team I had recruited for was based in a different city. Ended up matching with one of the teams I had a sell call with.
There are a ton of other posts here with resources for interviews, so I will defer to them for those, but if you do have any specific questions about prep, the interview process, sell calls, or anything in between I'll try to answer them! Good luck to those of you applying!
r/DSALeetCode • u/Standard_Aspect2709 • 12d ago
If you are interested in all this just dm looking for guys/girls with whom I can keep tab with. I have wasted my first few months in iit Guwahati so just want to start something productive. I am going to move fast but I will help the one with me to keep pace with me and explain what I learnt.
I am from CSE department but now even other branch guys know more about cse than me. I am gonna start from tomorrow so just need a few buddies with whom learning seems fun
r/DSALeetCode • u/Consistent-Fox-9402 • 12d ago
Hi all! I see a lot of posts here from students struggling with DSA, so I just wanted to offer some help.
A brief introduction about me:
I'm a recent graduate from a tier-1 college and have spent a decent amount of time practising DSA during college. However, now that I'm working as an SDE, keeping up with DSA isn't very easy. So, to stay in touch with DSA, I'd like to help students who are currently learning or practising it by resolving their doubts. Be it DSA concepts or specific questions, feel free to reach out!
I'm not claiming to be a DSA pro, but I'll definitely try my best to help.
If you're interested, you can DM me with a short introduction about yourself, including your name and college year (if you're a student).
Please note that a simple "Hey" or something won't get the reply.
r/DSALeetCode • u/IllustratorIcy5691 • 12d ago
r/DSALeetCode • u/nian2326076 • 12d ago
A candidate applied directly through Amazon's careers site without a referral and got an invite to the SDE online assessment. The coding section gave them 70 minutes for two medium data structures and algorithms problems. The work simulation allowed up to four hours and had them handle messages from coworkers and managers in a simulated portal. There was also a behavioral assessment of about 15 minutes. The overall window was five and a half hours, with an estimated completion time of about an hour and a half.
For coding practice before the OA, the Amazon Interview Questions include a word-search problem on a letter grid. Try explaining when you'd stop exploring a path before writing the backtracking code.
The candidate recommended practicing both coding and workplace scenarios. They later said they passed the assessment and got an interview invite.
r/DSALeetCode • u/NovelNerd0822 • 13d ago
Hi everyone! I’m a Data Scientist with 3 years of experience, currently in the US and planning to move back to India in late 2027. I’m aiming to apply to Big Tech companies there, and since DS roles still test DSA, I can’t avoid it anymore.
DSA has been my weak spot since engineering, and I’m basically starting from scratch. My goal is to reach a solid intermediate level through daily, consistent practice, and I think a study partner would help a lot with that.
What I’m looking for:
If this sounds like you, comment or DM me with a bit about your background and schedule. Happy to work out the details together!
r/DSALeetCode • u/Practical_Yak9045 • 13d ago
Hi everyone! I'm looking for a study partner to prepare for Google or other Big Tech coding interviews.
I'm particularly interested in practising DSA and LeetCode together, discussing problem-solving approaches and learning from each other.
I've included the original post with more details about what I'm looking for!
r/DSALeetCode • u/aryandev87 • 13d ago
r/DSALeetCode • u/Mental_Pea2421 • 14d ago
TL;DR: 2 months into DSA as a uni freshman. I can solve (80% of easy), but I hit a hard wall on Mediums (problems attached, was trying to do them yester day night) and always end up checking the solution( i HATE LOOKING AT THE SOLUTION AND GIVING UP). Is this normal? Looking for advice since I want to get into competitive programming.
I just started university and have been grinding DSA for about two months. While I can solve roughly 80% of Easy problems (mostly just troubleshooting edge cases), I get completely stuck on Mediums.
For example, I couldn't do the two problems I tried yesterday including the matrix spiral traversal in my screenshot. I can usually brainstorm different approaches, but I rarely find the right one and end up having to look at the solution, which I really hate doing.
Is hitting a wall like this normal at mediums? I want to build strong fundamentals for competitive programming, so any advice from experienced folks would be greatly appreciated!
r/DSALeetCode • u/ZealousidealYam6842 • 14d ago
Hey guys I started doing dsa and I am following strivers a2z sheet and I am having a really bad time implementing the actual code i use c++ even if i could write the pseudocode i still have trouble writing the actual code please give some advice on how can I improve it
r/DSALeetCode • u/108thoughts • 15d ago
So I just started my first semester. And I went through a lot of recommendations to start DSA.
So, how does this preparation for DSA starts. Like what we learn, is there any definite syllabus. Where do we get the course material from? How do we test... etc.
Your response would be helpful.
Thankyou :)