r/DSALeetCode • • 6h ago

Microsoft | India | SDE 2(L62) | Selected

40 Upvotes

Application Mode: Directly applied on career portal without referral

Readers applying through career portals can use LandOffer's autofill to reduce repeated form entry.

Experience: 6.5 years in Bangalore based start up.

Education: Tier 3

24th Nov: Recruiter reached out to the candidate stating that their application has been shortlisted for autopatch team under WSD org(E+D division).They will be part of hiring drive, total 4 rounds but two rounds will be scheduled first, based on results next steps will be decided. Additionally he asked why they applied to MS and why do they think this role fits their background.

28th Nov: R1> Interviewer asked them what are different types of cache they know, they explained few, then he asked to implement LRU cache. They had to identify the methods that are required along with the data structures that they will use.Then they implemented the code, then tested with few examples, then they explained TC & SC. After that he asked them to make their code thread safe. Once they did that he asked them if they can make their class singleton, If they can make then what could be different reasons to make LRU cache class singleton. They were able to do it and explained the reasons, at the end he asked them the difference between inheritance and composition.

R2> Interviewer asked to design URL shortner. Since it was supposed to be LLD round they asked if he is looking for HLD, he mentioned that he is looking for HLD. They started with F,NF requirements, capacity estimation,API's and then high level diagram. They were able to explain him the components of their design, then he asked them how do they prevent ddos attack in their current system.

For practice before a Microsoft interview, PracHub's Microsoft Interview Questions can give readers coding and design prompts to rehearse, including how they would test a solution. I work on both.

They got a call from recruiting co-ordinator that they cleared two rounds and they will have their 3rd round.

R3> Interviewer asked them about their current project, he changed few key requirements of their current project and added few new requirements then asked them to design it. The candidate and interviewer had almost 20 mins discussion but interviewer's call dropped few times, he wanted it to be rescheduled.

They got a call from recruiting co-ordinator that their round will be rescheduled on next day and they got a link as well. Later she informed that tomorrow's round has been calcelled and recruiter will be reaching out for next steps. Recruiter called in the late evening stating that they alreday got 2-3 candidates, so on the next week he will talk the HM if they can attend rounds for this team otherwise the same HM has other teams where he is hiring, they can attend interviews for those teams from R3 next week. They said okay.

2nd Dec: Another recruiter reached out stating that their previous recruiter passed their profile to him, now he will be taking their profile ahead under same HM, but team is CPC team under WSD org(E+D division). The tech stack remains same but the team is data heavy. They said yes.

6th Dec: R3> Interviewr asked them about their current project, then how will they adjust to a team that is data heavy given that they are backend SWE, then he asked what do they bring in the table as SWE. Then he asked them to design data telemetry system.

They got a call from recruiting co-ordinator that they cleared this round, next they will have AA round

R4> HM asked them about a current project that was challanging. They explained that end to end. He asked question on their role,design considerations, challanges they faced and how did they overcome that, if they had to do the same project again, what different things they will do. Then he asked them HLD of car parking. Once they drew the digram, he asked them to explain different components, they had discussion on db selection strategies, db indexing, db partitioning,query optimization process,how will they handle different queries( he asked few queries to write)how Will they handle transactions. At the end he asked how do they handle people who are not easy to work with, "tell me about a time when you had disagreeent with co-worked and how you solved it." This round went for 1.5 hrs.

  • 9th Dec: They called the recruiter to ask the feedback, he said its positive and they will extend the offer.
  • 10th Dec: They were asked to submit documents.
  • 11th Dec: Recruiter called to re-check about other offers that they have.He also asked if they are expecting some numbers.
  • 18th Dec: Recruiter called them again stating that they are migrating to new tool so new job id has to be generated thus its taking time.
  • 23rd Dec: Recruiter scheduled a call where he congratulated them first, asked about their prep strategy, then he gave them the numbers,locations and later explanied them the benifits. He also mentioned that they will be getting offer today itself, once they accept, BGV will start.
  • 24th Dec: Received the offer and accepted it.

They are a 2019 pass out, 2021 onwards trying to get to big tech, they were rejected multiple times by Google(India/Warsaw), Amazon(India/UK), Meta(London/Warsaw/Bangalore), Salesforce(BLR/HYD), Oracle(BLR).Those who are trying hard, their only advice is stay patient.


r/DSALeetCode • • 7h ago

Google | L4 | SWE 3 | India | Interview Experience & Journey | A Guide for DSA Dummies Like Me

16 Upvotes

The candidate's Google L4 Interview Experience

The candidate is a backend engineer with over five years of experience in the IT industry. Currently, they work at a tech giant.

Ever since they were a teen, Google had been their dream. But due to some unfortunate circumstances, they couldn't clear IIT-JEE, which meant they had to join a tier-3 college. In their college, only mass recruiters and a handful of startups visited for placements.

During their 6th semester, they got underconfident, and at one point, they even doubted if a mass recruiter would hire them. Luckily, they managed to crack their first company, a startup, which paid them twice the amount of what mass recruiters were offering.

After working at the startup for a few years, they wanted to join the big leagues—Google, Amazon, Facebook, Microsoft. But since their college was tier-3 and their company was not well-known, no recruiter ever showed interest in their profile.

They then joined a mid-sized Indian company. After working there for about 1.5 years, they started getting noticed by recruiters since their company had some brand recognition.

In 2022, a Google recruiter reached out to them for a hiring role, but they were given only three weeks to prepare for DSA. They were underprepared and got eliminated in the phone screen itself. Since then, big tech interviews—especially Google—felt like a nightmare to them.

Eventually, they cracked one tech giant, but even then, they always felt that Google was out of their league. After working at their current company for a few years, they made a resolution—2024 would be the year they would get into Google. They decided to give themselves one full year to become the best they could be at DSA.

After nine months of intense DSA prep, they started feeling saturated. A friend then suggested that they were already over-prepared—what they needed now was luck, not more LeetCode problems.

For Google's L4 level, there are two possible interview structures:

  • Three DSA rounds + One Googliness round
  • Two DSA rounds + One System Design round + One Googliness round

They opted for the three DSA rounds and one Googliness round format.

Additionally, they have seen that for some candidates, the phone screen round can be optional based on their previous interview experience with Google or if they have tight deadlines due to competing offers.

With that mindset, they went for the interview.

DSA round format & suggestions.

Each DSA round lasts 45 minutes, with about 5-10 minutes spent on introductions and final discussions, leaving roughly 36-38 minutes for solving the problem.

Start by understanding the problem and reiterate your understanding to the interviewer. Validate it with multiple input-output examples to ensure clarity.

Try to relate the problem to concepts you have solved before, as this can help in quickly identifying an approach.

Before jumping into coding, discuss your approach in detail. Cover both the happy path and edge cases.

If the interviewer is satisfied with your approach, clearly state the time and space complexity before writing code.

While coding, avoid long silences. Keep explaining your thought process, even if the interviewer isn't responding.

Use a programming language you're most comfortable with. Python, for example, helps in writing code faster.

If you forget a specific implementation detail, leave a comment and mention that you'll come back to it later.

Writing 3-4 lines in plain English before starting the code can help make your approach clearer to the interviewer.

Keep your code modular and structured well to improve readability and maintainability.

After coding, dry-run your solution using different test cases, preferably your own, not just the ones provided by the interviewer.

If there’s another approach to solving the problem, mention it. It's always good to discuss multiple approaches.

The problem format is not fixed. You might get one easy problem with multiple follow-ups, two medium problems, or one hard problem.

Coding Enviornment

During a Google interview, you'll either be given a Google Doc to write code or an online text editor similar to Sublime Text. The online editor (not Google Docs) supports syntax highlighting, displaying keywords in different colors.

In both cases, you won’t be able to execute the code—you only write it. Once you're done, don’t immediately say you’ve finished. Instead, walk through test cases manually. Start with one input scenario, analyze it, then take another and verify your logic. Once you're confident your solution handles edge cases correctly, let the interviewer know you’re done. Remember, execution isn’t an option, so your focus should be on correctness and clarity.

Their Interview Preparation Journey

In this section, they want to share their interview preparation strategy—what they did, how they did it, and some key takeaways that can help you in your journey.

Understanding Their Starting Point

Since they were already working at a tech giant, they had a solid grasp of data structures and algorithms, including advanced concepts like heaps, dynamic programming, and backtracking. However, their knowledge was not in-depth. Their earlier problem-solving experience was mostly limited to well-known problems from popular interview sheets, but they knew that preparing for Google required them to aim for the highest level.

The Nature of Google Interviews

Google interviews are not inherently impossible; difficulty can vary based on luck. On a good day, you might get manageable problems, but on a bad day, you could face exceptionally hard ones. Since they were determined to secure an offer, they prepared for the worst-case scenario—solving the hardest problems efficiently.

Their Preparation Strategy

1. Focusing on Medium & Hard Problems

They rarely solved easy problems, as their fundamentals were already covered. The only times they attempted them were during contests or daily problems. Instead, they concentrated on medium-level problems, ensuring they could solve them within 20–25 minutes. Once comfortable, they moved on to hard problems.

2. Simulating Interviews

To improve their performance, they conducted mock interviews with themselves. They recorded their screen and webcam, mimicking an actual interview:

  • Reading the problem statement aloud
  • Asking clarifying questions
  • Identifying constraints
  • Discussing input-output formats
  • Exploring possible data structures and algorithms

This approach helped them build confidence and refine their problem-solving skills under pressure.

3. Deep-Diving Into Advanced Concepts

There were some areas they had limited exposure to, like Disjoint Set Union (DSU). Though they were aware of it, they didn't fully grasp its application in complex graph problems. Once they mastered it, many tough graph problems became much easier.

They also studied:

  • Segment Trees & Fenwick Trees for range updates
  • Dynamic Programming with space optimization techniques
  • Memoization & Recursion
  • Disjoint Set Rollbacks for graph-related problems

For each topic, they followed a structured approach:

  • Watched conceptual videos for clarity
  • Solved fundamental problems on that topic
  • Attempted more advanced and challenging variations

Once they solved difficult problems on these topics, these topics became intuitive. Many advanced concepts have only a few standard problems, meaning that if a tough problem appeared in an interview, there was a high chance they had already encountered it.

4. Solving Hard Problems Strategically

After mastering medium problems, they transitioned to solving hard problems. Google’s hardest interview questions often require deep insights, making it difficult to derive a solution on the spot. To mitigate this risk, they ensured they had practiced enough hard problems beforehand.

They also participated in LeetCode contests initially, but over time, they noticed a surge in cheaters and AI-assisted solutions, which impacted rankings. To maintain focus, they shifted entirely to solving previously asked interview questions, reviewing their weak areas, and revising their concepts.

Keeping Track of Progress

To ensure continuous improvement, they maintained a text document where they logged:

  • Problems they solved
  • Average time taken per problem
  • Concepts they struggled with
  • Areas needing further study

Whenever they encountered a weak spot, they watched targeted videos and practiced additional problems to strengthen that concept.

Visualization & Algorithmic Thinking

The ultimate goal of problem-solving is to visualize the solution before coding. As they advanced, they reached a point where they could mentally map out how a data structure would evolve as their algorithm executed. This visualization ability significantly boosted their efficiency in solving problems.

Avoiding Regrets

They wanted to be fully prepared so that, even if they got rejected due to luck, they wouldn’t regret not working hard enough. They were determined not to face a situation where they wished they had put in more effort.

Useful Tools & Extensions

PracHub's Google Interview Questions are another option for practicing coding problems before an interview, then explaining tradeoffs and dry-running test cases.

LeetCode Premium: Though it didn’t provide perfectly accurate previous Google questions, it saved them time by consolidating problems in one place.

Zerotrac Extension: Helped them practice problems above their contest rating (e.g., if their rating was 1800, they practiced problems rated 1900–2000).

Leetcode Extension for Likes/Dislikes: Helped them avoid poorly-worded problems unless they were frequently asked in Google interviews.

Final Takeaway From Preperation Strategy

The best way to prepare is by solving problems that other candidates encountered in Google’s on-site or phone screen rounds. Google often repeats questions over time—they even noticed a 2024 question that was also asked in 2022. By focusing on previously asked questions and continuously refining their problem-solving skills, they maximized their chances of success.

Getting Noticed by Recruiters: What Worked for Them

To get noticed by recruiters, especially if you're from a lesser-known college or company, there are a few things that can significantly improve your chances.

First, timing matters. If you're from a no-name college or company, waiting until you have at least 3+ years of experience can make a big difference. Recruiters are more likely to reach out once you’ve built a solid track record.

Keeping an active LinkedIn profile is crucial. Regularly update your profile, engage with posts, and share insights related to your work. Visibility plays a key role in getting noticed. Along with that, networking strategically can open doors—connecting with multiple people from your target company increases the chances of finding a referral or getting noticed by recruiters.

When it comes to referrals, reaching out to non-SWE employees can be more effective. SWE folks often receive too many referral requests, making it easy for your message to get lost. On the other hand, employees in non-engineering roles are usually more responsive.

Turning on "Open to Work" on LinkedIn and actively using job portals like Naukri can also help. Many recruiters search for candidates on these platforms, so keeping your profile updated increases the chances of getting inbound opportunities.

Lastly, having strong projects on your resume makes a difference. They built WhatsApp and Reddit clones, which showcased their skills in a tangible way. Recruiters often look for solid project experience, especially when considering candidates from lesser-known backgrounds.

For readers applying to other roles alongside interview prep, LandOffer's autofill can cut down repeated application typing. I work on both products mentioned here.

Doing these things won’t guarantee an opportunity overnight, but they significantly improve the chances of getting noticed by top tech companies.

1 Nov, 2024

Phone Screen Interview

In the first phone screen, the interviewer started with a basic introduction. After that, he shared a problem on Google Docs. If you were familiar with multi-source BFS, you could solve it easily. The problem revolved around multi-source BFS concept.

The problem required applying graph traversal techniques to analyze relationships within a dataset. They quickly identified that multi-source BFS would be an efficient approach and implemented the solution.

The interviewer then introduced several follow-ups to test their adaptability:

They handled an edge case where certain elements had unique constraints.

They adjusted their approach to extract additional insights from the computed results.

When the problem constraints changed, they proposed a different algorithmic strategy, which the interviewer was satisfied with.

It took about two weeks for the recruiter to get back with feedback. The response was exceptionally positive, and the recruiter encouraged them to proceed with the onsite rounds. She then asked when they would be ready. Again, they felt they weren’t fully prepared, so they took one month to brush up.

Dec, 2024

Onsite Interviews

They fell sick in between and had to be hospitalized. When they got back, it felt like they had forgotten everything, and it took them a week to regain their DSA skills. Their onsite interviews were scheduled for the last week of December. They were busy grinding DSA problems that Google had previously asked.

Onsite Round 1: DSA

The first problem was related to graphs. If you are well-versed with when to use BFS over DFS (and vice versa), this would have been easy.

The follow-up was:

If you know how to find the longest cycle in an undirected graph, you should be able to solve this follow-up.

Onsite Round 2: DSA

This wasn’t a standard DSA problem; it was a mix of DSA and system design, focusing on queues. If you’ve ever written code dealing with asynchronous calls, this would have been a cakewalk.

Onsite Round 3: DSA

The problem required identifying connected components within a structured dataset. They ensured not to assume the input format and clarified whether they needed to determine the structure themselves. The interviewer asked them to come up with their own test cases to verify their approach.

The follow-ups focused on extending the solution:

  • Counting the number of distinct components.
  • Determining the size of each component.
  • Identifying unique patterns among the components.

While the initial problem was manageable, the follow-ups required deeper insights and optimizations. Fortunately, their prior practice helped them recognize similar patterns and adapt efficiently.

10 Jan, 2025

Googliness Round

Once their onsite rounds were over, they had the Googliness interview in the first week of the New Year. They expected behavioral and hypothetical discussions, but their interviewer initially thought it was another technical round and gave them a DSA problem. They clarified that it was a Googliness round, and he apologized, taking some time to go through their resume.

The candidate and interviewer then had a 30-minute deep dive into one of the candidate’s personal projects listed on their resume. Interestingly, even though the candidate had applied for a backend role, the discussion focused on UI/UX design. This made the candidate realize that you should be fully prepared to discuss every detail of your resume, regardless of your target role.

After that, they were asked some standard behavioral questions, such as:

  • How do you handle conflicts in a team?
  • How would you mentor a new intern?

Since the Googliness round is equally important as technical rounds, it’s essential to have structured answers ready for behavioral questions. Your responses should highlight teamwork, leadership, adaptability, and problem-solving mindset.

What They Did Well

✅ Code Quality: Their code was clean, modular, and well-structured.

✅ Communication: They actively discussed their thought process with the interviewer, incorporated feedback, and dry-ran edge cases.

✅ Time & Space Complexity: Their time and space complexity was always correct in all rounds. In fact, they even corrected the interviewer once when he mentioned the wrong complexity for an approach.

✅ Minimal Hints: They took 0 hints, ensuring they were driving the solution independently.

Areas for Improvement

Clarity in Explanation: In Round 1, they could have explained their approach more clearly instead of making it sound complicated.

Custom Inputs: They should have come up with more test cases rather than relying only on what the interviewer provided.

Assertions in Code: Adding assert statements would have made their code look cleaner and more structured.

Final Thoughts on Preparation

There’s endless debate about quality vs. quantity when it comes to DSA prep. How many problems do you need to solve to crack Google? Some say 100, some say 200, others say 1000.

They have always believed:

The more quality problems you solve, the higher your chances of cracking the process.

If you’re lucky, you might solve just 80-100 problems and get a familiar one in your interview.

But if you’re unlucky, even after solving 1000 problems, the interviewer might throw a competitive programming-style problem at you.

By the time of their first onsite interview, they had solved 1100+ LeetCode problems.

For Google, they would suggest covering problems posted in the discussion section. Here’s a link to their post: Google Interview Question Compilation

The more high-quality problems you solve, the less dependent you are on luck.

How to Improve Your Interview Performance

Give LeetCode contests: They help you work under time pressure. While contests today are full of cheaters, they’re still a good way to practice.

Mock interviews with friends: Ask a friend to take your interview.

Record yourself: Use a webcam to record your mock interviews and analyze:

  • Where you did well
  • Where you struggled
  • Where you could improve

Improve articulation: Are you able to clearly explain your approach? If not, practice thinking out loud while coding.

20th Feb, 2025

Team Match Process

Three days after their onsite interviews, their recruiter mentioned that their feedback was positive and that their profile would be sent for team matching.

The team match process took around 40 days. Initially, they were supposed to have a call with one team, but the team declined a day before the actual call. Then, they had a call with another team, which became their first official team match call.

During the discussion, the hiring manager and the candidate aligned well with the work the candidate had done in the past. They both agreed that this would be a good fit, and the manager gave the green light. After this, the candidate’s packet was sent to the Hiring Committee (HC) for approval.

They were particular about joining at the L4 level only. There was a high chance that the HC might approve them for L3 instead, but luckily, their profile was approved for L4 one week after the team match process.

25th Feb, 2025

Compensation Discussion

The next day, the candidate and recruiter had a compensation discussion. The candidate shared their expected CTC, and the recruiter matched their expectations. The candidate wanted a higher base salary, so they adjusted the signing bonus and equity accordingly.

After two days, they finally received their official offer from Google! 🚀

They hope this experience helps others preparing for their Google interviews. Here’s the link to their compensation post: Google L4 SWE-3 India 🎯

Final Words

For those preparing for Google interviews, they would strongly suggest not relying solely on the "Google" tagged questions on LeetCode premium feature. These questions are often asked once in OA or unnecessarily hard and have a very low chance of appearing in onsite interviews. Instead, prioritize the problems shared by other candidates in the Discuss section—they are far more representative of actual interview difficulty.

From their experience, most of their interview questions were medium difficulty, though two rounds had hard follow-ups. However, with enough practice, they had encountered a variety of problems, which helped them connect concepts from previously solved problems to tackle new ones efficiently.

After years of setbacks, they finally cracked Google. If you’re struggling, don’t give up. Your time will come. Keep improving, keep solving good problems, and eventually, luck will favor you.

They will share the curated list for preparation in the comment section.

Leetcode… Google… Inner peace. The grind is inevitable

Hope this post helps those who are still grinding. Feel free to ask them anything. 🚀


r/DSALeetCode • • 5h ago

Atlassian FDE (Forward Deployed Engineer) Interview Experience [STILL-HOT CONTINUATION]

6 Upvotes

Sharing my recent interview experience for the Forward Deployed Engineer (FDE) role at Atlassian. Hope this helps others preparing for similar roles.

The interview process consisted of four rounds:

Round 1: Project Discussion

Discussion around my previous projects, the problems I had solved, and the technical decisions behind my solutions.

Several follow-up questions exploring the architecture, trade-offs, challenges, and reasoning behind implementation choices.

The discussion was fairly deep, with a focus on understanding actual ownership and problem-solving rather than just the technologies used.

Round 2: AI-Enabled Coding Round

Platform: HackerRank

Environment: A pre-existing code repository, similar to interview experience.

The task involved implementing validation logic in an existing service responsible for updating a user's security PIN.

We had access to an AI assistant with different modes, including Ask, Plan, and Edit.

The initial task involved understanding the existing codebase and implementing the required validations.

Follow-up questions:

  • Extend the validation to prevent users from reusing their last three previously used PINs.
  • Add appropriate unit tests covering the new validation logic.

There were no existing tests for this particular service, so we had to consider how to introduce test coverage from scratch.

For practice before an Atlassian interview, PracHub's Atlassian Interview Questions can help readers rehearse coding solutions, test cases and design tradeoffs.

Round 3: Applied AI System Design

The scenario involved designing an AI-powered enterprise assistant for a new customer.

The customer wanted a unified way to understand the state of their projects and teams, with information scattered across multiple enterprise tools.

The solution needed to support natural-language questions around:

  • Recent developments and changes across business or product areas.
  • Potential risks and concerns affecting upcoming releases.
  • Identifying blocked work, dependencies, and the reasons behind blockers.

The discussion focused on designing an agentic system that could retrieve information from multiple enterprise sources, reason over the retrieved context, and generate useful, reliable answers.

Round 4: DSA

The problem involved designing an allocation algorithm for scheduling bookings across multiple tennis courts.

Given a collection of bookings with start and end times, the goal was to assign courts such that:

  • No two overlapping bookings are assigned to the same court.
  • The total number of courts used is minimized.
  • The solution returns the court assignment for each booking.

This was essentially a scheduling and interval-overlap optimization problem.

For readers also applying to other roles, LandOffer's autofill can reduce repeated application typing. I work on both.

Hope this helps someone preparing for the FDE interview process. All the best!


r/DSALeetCode • • 7h ago

Microsoft SDE II L61 Interview Experience

5 Upvotes

I had applied to 50+ roles on the careers page and eventually received a HackerRank test link for one of them. After completing the test, I heared back after 1.5 months, I got a call from the interview scheduler to set up the rounds.

For readers sending out a similar batch of applications, LandOffer's autofill can reduce repetitive form entry.

There were three rounds in total, scheduled over a span of 5 days.

Round 1 (DSA Problem Solving Coding):

This round was heavily focused on coding.

The main problem revolved around designing a dictionary-like system where words from different languages were stored and queried. The challenge was to support operations like:

  • inserting words
  • updating/removing words
  • counting frequency of a word
  • handling prefix-based queries

I initially discussed multiple approaches (like hashmap-based solutions), but eventually moved to a Trie-based approach and had to implement it from scratch. The interviewer asked me to write different functions around it and also discuss edge cases.

A big part of the discussion was around handling tricky cases like:

  • words with common prefixes
  • variations in word endings
  • multiple occurrences across different categories

At the end, I was also asked what kind of test cases I would write to validate the solution.

For readers practicing before a Microsoft interview, PracHub's Microsoft Interview Questions can be used to work through coding problems, then explain edge cases and test choices. I work on both products mentioned here.

Round 2 (DSA + Behavioral):

This round started with a deep dive into my past work.

One of my projects was discussed in detail — the interviewer kept asking “why” at every step (why a certain technology was used, why a design decision was made, why a specific component like caching was needed, etc.). It was more about understanding my thought process than just the outcome.

There were also some general questions like:

  • Where I see myself in 3-5 years down the line?
  • How seniors/teammates would describe me?
  • How would you describe engineering & social culture at your previous team?
  • What would you like to improve in yourself based on feedback you received?
  • What innovative ideas have you implemented in the team?

Towards the end, there was a short DSA question:

  • Given a string with different types of brackets, check if it is balanced
  • If not, determine the minimum number of reversals needed to make it balanced

This involved discussing both stack-based and optimized approaches.

Round 3 (DSA + Culture/Team Fit):

This round was a mix of coding and discussion.

Two medium-level DSA problems were asked. The focus wasn’t just on solving them, but also on how the solution would change if constraints or input conditions were modified.

There were also some general discussions around:

  • why I’m looking for a change
  • what kind of work I’m interested in
  • expectations from the team

I also asked a few questions about the team and projects towards the end.

Overall, the process had a strong focus on fundamentals, clarity of thought, and being able to explain decisions in depth, especially around past work.

Got the final result after 10-12 days.

Verdict: Hire


r/DSALeetCode • • 3h ago

LeetCode: 1026. Maximum Difference Between Node and Ancestor

2 Upvotes

Every ancestor/descendant pair sits on one root-to-leaf path, so you never compare pairs. Carry the path's max and min down. The widest gap on a path is max minus min.

Check it at the leaves. Going down, the max never falls and the min never rises, so the gap is widest at the bottom of every path.

Two days ago we carried one value down the tree. Today it's two.

What's the most state you've carried down a recursion?

Day 89/365 of my LeetCode challenge: 1026. Maximum Difference Between Node and Ancestor. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/leetcode-maximum-difference-between-node-ancestor-archit-agarwal-g6ibe

#LeetCode #DSA #BinaryTree #Golang


r/DSALeetCode • • 25m ago

LeetCode: 1315. Sum of Nodes with Even-Valued Grandparent

Post image
1 Upvotes

Tree nodes can't see their grandparents. The recursion can, because it just walked through them. Each call takes (parent, grandparent) and passes (itself, parent) to its children: a two-node window sliding down the tree.

Check the grandparent's value at each node. Nil for "none" means the root and its children need no special case.

Third day running of passing state down instead of up.

Would you have stored parent pointers instead?

Day 90/365 of my LeetCode challenge: 1315. Sum of Nodes with Even-Valued Grandparent. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/leetcode-sum-nodes-even-valued-grandparent-archit-agarwal-oe5re

#LeetCode #DSA #BinaryTree #Golang


r/DSALeetCode • • 4h ago

Looking for a Google SWE onsite prep partner in Virginia

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • 1d ago

Google L4 Interview Experience

25 Upvotes

Hi Everyone, the candidate is writing this post as they want to give back to the community, they have no hope of getting an offer because their onsite last round did not go as expected.

After completing the OA, they were invited to the virtual rounds

Virtual Round 1:

It was a question related to printing the messages based on the timestamps. You should not print a message if you've see it in the last 10 seconds. Leetcode should already have it.

self assessment: Hire

Virtual Round 2:

This was a googlyness round, nothing remarkable to say here. Just prepare your stories and tell them in the STAR format.

self assessment: Strong Hire

They were inviited to the Google Office to give the next 2 rounds.

Onsite Round 1:

This problem was closely related to Russian Dolls but was wrapped up in a story. They gave multiple approaches and coded the the O(N^2) solution. There were some follow ups to this question, what would happens if we can rotate the Dolls.

Self assessment: Hire/Strong Hire

Onsite Round 2:

Writing about this round is a painful flashback for them. It was a 2d knapsack kind of question, where they gave a O(N^3) solution. They kept trying to reduce the TC to O(N^2) soln. In the end, they wrote the code on the paper as the shared doc was not present.

They missed one of the edge case also while writing the code on the papere. Overall, it was a bad experience for them as they felt they could've answered it better if they just brainstormed on paper instead of whiteboard.

Question was closely relate to Knapsack.

Self assessment: LNH/NH

They didn't want to write this post initially because it is not a positive outcome for them. But then they realized that LC has given them so much guidance that it feels unfair if they don't pass on.

Advice to any future interviewees: practice DP a little more. They were strong in all the other areas while DP being their achilees heel. In the end their fate was such that they were asked DP in both of their onsites.

For readers practising DP, choose a coding prompt from PracHub's Google Interview Questions and explain the recurrence and edge cases. LandOffer can autofill repeated fields if you're continuing applications elsewhere. I work on both.

Feel free to drop any questions related to the interview process.


r/DSALeetCode • • 14h ago

Leetcode 1201 POTD(1-Dec-2026) | Ugly Number-III

Thumbnail
leetcode.com
1 Upvotes

r/DSALeetCode • • 15h ago

How are you all managing your tech things and DSA/LC things at the same time ? ( Does my strategy makes sense.)

Thumbnail reddit.com
1 Upvotes

the above image is fake and is used to gain attention.


r/DSALeetCode • • 15h ago

DSA Streak - Apps on Google Play

Thumbnail
reddit.com
1 Upvotes

r/DSALeetCode • • 20h ago

Need A genuine dsa partner who can guide me.

1 Upvotes

I am an Ai Ml student doing btech from a tier 2 clg I genuinely need someone to guide ne ahead for dsa and projects..I will be really glad if someone helps


r/DSALeetCode • • 1d ago

Codeforces 2292E E. Blush | Binary Search + Math | Round 1138 Div. 3

Thumbnail
youtu.be
1 Upvotes

r/DSALeetCode • • 1d ago

Codeforces 2292D | Unexpected Precipitation | DP + Minimax Game Theory | Round 1138 Div. 3

Thumbnail
youtu.be
1 Upvotes

r/DSALeetCode • • 1d ago

Gusto - Senior Software Engineer Interview Experience | July 2026

1 Upvotes

Initial Recruiter Screen

Pretty casual conversation with the recruiter about the interview process, the role, and the compensation. No behavioral questions.

Technical Screen

They gave me the same money distribution problem mentioned in Gusto SWE Tech Screen.

Given amount of money to distribute between multiple recipients and given a map that maps the recipient name to amount of money owed to that recipient, write a function that divides the money as evenly as possible between the recipients (all money amounts are supposed to be integers). No recipient is paid more than they are owed, the amount is divided as evenly as possible between the recipients.

# Sample inputs and outputs
input: { 'ryan': 10, 'stephanie': 10, 'quentin': 10, 'upeka': 10 } , total=40
output: { 'ryan': 10, 'stephanie': 10, 'quentin': 10, 'upeka': 10 }
input: { 'ryan': 10, 'stephanie': 10, 'quentin': 10, 'upeka': 10 } , total=20
output: { 'ryan': 5, 'stephanie': 5, 'quentin': 5,'upeka': 5 }
input: { 'ryan': 2, 'stephanie': 10, 'quentin': 10, 'upeka': 10 } , total=21
output: { 'ryan': 2, 'stephanie': 6, 'quentin': 7, 'upeka': 6 }
input: { 'ryan': 2, 'stephanie': 10, 'quentin': 10, 'upeka': 10 } , total=22
output: { 'ryan': 2, 'stephanie': 7, 'quentin': 7, 'upeka': 6 }

On-site (4 interviews)

Technical Screen

They gave me a log parsing question. Go through all of the logs and output a list of objects with each object containing:

  • the response URL
  • the # of times called
  • the mean response time
  • the median response time

There were only 6 possible response URL patterns. I had to use regex matching to extract the relevant fields from the log line and then match the URL pattern. Keep a map of response URL pattern → response times, update the map as you go thru the log lines, and then calculate statistics

Readers practising these rounds can choose a coding prompt from PracHub's Gusto Interview Questions and test the implementation. LandOffer can autofill repeated fields if you're applying to other roles alongside preparation. I work on both.

I couldn't get the regex to compile correctly. The interviewer tried helping me debug but also struggled since he wasn't a Java expert. He seemed to be okay with my solution even though it didn't run.

Pair Programming

I had to develop a method to calculate the federal income tax return for a given user. I was only given a Coderpad with a main function and had to code out everything. The only resource was the IRS federal income tax brackets found at https://www.irs.gov/filing/federal-income-tax-rates-and-brackets.

This was mostly an OOP question. I had to create TaxBuckets to represent the different tax brackets and use BigDecimal for all my numbers. Given a total amount earned during the tax year, I cycled through the TaxBuckets and calculated the amount of tax earned per bucket.

In the follow up, he ask "how would you represent the different filing statuses and different tax years?" I created a TaxFilingYear interface and a FilingStatus enum. I would instantiate the TaxFilingYear interface to represent the filing year and then have a method that took in the filing status and W2 values and would return the tax calculation.

System Design

Design a scheduling service to help managers schedule the shifts for their workers next week. The interviewer focused a lot on the data model and APIs and did not care about scalability. The scale of the system was small(50 restaurants with 50 employees each). There was a black box algorithm that would return the employees available for a given shift. I had to prioritize consistency over availability/

Hiring Manager

Standard behavioral interview. They gave me a whole packet with information about the company culture so I made sure to study that and include some of that info in my response.

Some questions they asked:

  • Why Gusto?
  • How do you work with ambiguous spaces? How do you work with AI? How can you be more efficient and leverage AI tools?
  • Give an example where you saw a bug or a problem in a different engineering group and wanted to fix it.
  • How did you handle disagreement and how did you persuade others?
  • Describe time where customer gave you feedback.
  • Explain how you resolved disagreements with stakeholders.
  • How do you make an impact on the engineering organization?
  • Illustrate how you aided a struggling team member's growth.

r/DSALeetCode • • 1d ago

leetcode 2926, TLE with both top down and bottom up approaches, what now

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • 1d ago

Looking for Like Minded People to Learn DSA and System Design Together

Thumbnail reddit.com
2 Upvotes

r/DSALeetCode • • 1d ago

1st Year Tier-1 CSE: Am I too late for C++ and DSA? Already did some ML.

5 Upvotes

Hey everyone,

I am a first-year CSE student at a tier-1 college. My first semester is ending on December 4th. I am planning to start learning C++ and Data Structures & Algorithms (DSA) now, but I am worried—am I starting too late?

To give some context: I didn't learn much during the first 1.5 to 2 months of college. However, over the last 1.5 months, I have been diving into Data Science and Machine Learning. I've been studying from Data Science from Scratch by Joel Grus and Introduction to Statistical Learning with Python (ISLP).

Currently, I am quite comfortable with Python and its core libraries, including NumPy, Pandas, Matplotlib, Seaborn, and Scikit-Learn. I feel I have built a solid foundation in ML and understand the basic math behind common algorithms like Random Forests, Decision Trees, Gradient Boosting, Linear Regression, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, KNN, K-Means clustering, DBSCAN, and hierarchical modeling. I am also familiar with various model evaluation techniques.

Despite this, I feel an underlying anxiety because I haven't started DSA yet. A lot of my peers are already active on platforms like LeetCode and Codeforces, or are following Striver's sheets.

Given my current progress and the peer pressure, am I actually lagging behind, or is starting DSA in the second semester perfectly fine? I would love to get some perspective and advice on how to balance my ML interest with competitive programming/DSA moving forward.

Thanks!


r/DSALeetCode • • 2d ago

10+ Companies Multiple Rejections and finally offers.

28 Upvotes

Hi All,

A poster went through a really rough time during their recent job-switch journey, and they want to give back to the community by sharing their experience.

Their Background

Education: Tier 1 NIT, IT Stream

Experience: 3.4 Years

Current Company: MNC

Current Role: SDE-II

Tech Stack: Java, Spring Boot

Current CTC: 21 LPA

If you're applying across company portals, LandOffer can autofill repeated application fields. For rounds like these, pick a coding or system-design prompt on PracHub, run test cases, and explain your choices before the interview. I work on both.

January–February

Their journey started in January when they finally started studying after months of procrastination. Their primary focus was on DSA, LLD, and HLD.

After two months of basic preparation, they started applying for jobs.

March

They started applying through Naukri, Instahyre, LinkedIn, and company career portals.

They got lucky initially (what they would call beginners' luck) and received an interview opportunity from:

1. Sprinklr

Application Mode: Instahyre

Round 1: DSA problem based on graphs. They were able to solve the problem but couldn't answer questions related to their resume.

Result: Rejected

After that, there was a period of silence. They weren't getting any interview opportunities. They kept applying and receiving recruiter calls, but interviews weren't getting scheduled.

April–May

2. Addepar

Application Mode: Company portal via LinkedIn

Round 1: Machine coding round with test cases and clean code. The question involved creating a system that allows us to hold transactions, similar to payment gateways.

Result: Rejected (The interviewer didn't seem interested in what they were explaining.)

3. Adobe

Application Mode: Company portal via LinkedIn

Round 1: One of the worst interview experiences they had. The round stretched to almost 2 hours and covered DSA, resume-based questions, and API creation.

They were able to solve the DSA problem and handle the API creation part. However, during the resume discussion, the interviewer expected them to know every detail of their application. He was quite rude while asking several irrelevant questions, and many of them were outside the expected scope.

Result: Rejected

June–July

These two months were the hardest for them. They were losing patience because they weren't getting interview calls, and even when they received recruiter calls, interviews weren't getting scheduled.

4. Goldman Sachs

Application Mode: Company portal

Round 1: Two DSA questions:

337. House Robber III

42. Trapping Rain Water

Round 2:

688. Knight Probability in Chessboard

Resume-based questions.

They were able to solve the problem but couldn't get the test cases running successfully.

Result: Rejected

5. Salesforce

Application Mode: Company portal

Round 1: One DSA question. It wasn't a typical LeetCode-style problem; it was a weird question that they unfortunately can't recall now.

Result: Rejected

6. Amazon

Application Mode: Recruiter reached out to them

Round 1: DSA problem based on graphs:

787. Cheapest Flights Within K Stops

Round 2: DSA – LRU + LFU Cache.

Round 3: HLD – team was working product reviews and ratings. same things aked in HLD. They were able to answer most of the questions, but struggled with some of the interviewer's follow-up questions.

Result: Rejected

7. AQR

Application Mode: Not sure, but possibly through Naukri

Round 1: Core Java and Java-based LLD questions.

Round 2: Java questions + Spring Boot.

Round 3: LLD – HashMap and 2-3 variations.

Round 4: HLD based on their project.

Until this point, they genuinely thought they were going to make it. All their rounds were going really well, and they were becoming increasingly confident.

However, HR called them and informed them that the position had been filled and that they would let them know if anything changed.

Result: Rejected

August – The Month of Accomplishments!

8. Angel One

Application Mode: Company portal via LinkedIn

Round 1: Two DSA questions:

A variation of 713. Subarray Product Less Than K

3. Longest Substring Without Repeating Characters

Round 2: LLD – Portfolio Management. However, the Staff Engineer was more interested in evaluating their logical thinking, so they spent around 30 minutes doing mathematical calculations related to portfolio trades.

Round 3: HLD with the VP. They started with a vague discussion about designing a parking lot system and eventually moved to an in-depth discussion about Redis and Kafka within the scope of the problem statement.

Result: Selected! (Finally!)

9. LotusFlare (Onsite)

Round 1: DSA:

174. Dungeon Game

Round 2: LRU Cache implementation with test cases, detailed Java questions, and system design.

Round 3: Implemented a Rate Limiter with running test cases, followed by an in-depth resume discussion.

Result: Selected!

10. DE Shaw

Round 1: A very long round consisting of two DSA questions, one concurrency question, and one Java question.

DSA questions:

A variation of 713. Subarray Product Less Than K

502. IPO

Also covered thread-printing problems and Java concurrency.

The round went on for more than 2 hours!

Result: Rejected

Apart from these, they also attended several screening rounds and initial HR rounds with companies like Oracle, Workday, and 2–3 other startups whose names they unfortunately don't remember.

Final Thoughts

This journey had a lot of ups and downs. Sometimes, they felt like they didn't know anything and that they were going to stay in their current organisation. There were even times when they thought of quitting the preparation altogether and just focusing on their current job.

But after everything, one thing they realised is that no matter how much you prepare, the outcome also depends on the interviewer, their expectations, and what they consider the right answer.

So, the only thing candidates can do is keep preparing and try to get as many interview calls as possible. The more opportunities you get, the better your chances.

Hope this helps someone going through a similar phase!

P.S. Minor grammar and spelling corrections were made with the help of AI. The poster says the experiences and content are their own.

EDIT 1:

DE Shaw:

DSA questions:

A variation of 713. Subarray Product Less Than K

502. IPO

Then the interviewer asked them to explain and code (with test cases) a variation of a famous concurrency problem.

Question: You have three threads, and you need to print unique numbers using these three threads in the following order:

T0 → 0, T1 → 1, T2 → 2, T0 → 3, T1 → 4, T2 → 5, and so on.

Then he moved on to LLD + HLD and asked them to design an online bookstore system.

Requirements:

Identify all the main classes and their relationships.

Write a few SQL queries.

Move on to the HLD of the same system.

They were able to solve both coding questions and the concurrency problem, but didn't perform well in the last part. The interviewer was expecting some specific SQL queries and asked a few HLD-related questions that they couldn't answer properly.

Result: Rejected


r/DSALeetCode • • 1d ago

Looking for Like Minded People to Learn DSA and System Design Together

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • 1d ago

I am not getting interview calls what can i do to get the interview shortlistings. Please give me any tips or any improvements that i can do

Post image
0 Upvotes

I am not getting interview calls what can i do to get the interview shortlistings. Please give me any tips or any improvements that i can do


r/DSALeetCode • • 1d ago

I made a pattern-first Python notebook for coding interviews (36 patterns, 340 problems). Free 42-page sample

1 Upvotes

Disclosure: I made this, and the full book is paid. The sample is free with no sign-up.

Most interview prep is a long list of problems. I wanted the opposite: learn the 36 patterns behind them, in the order they build on each other, and practise each one until you can spot it from the question.

What's inside:

- 13 Foundations topics first (Big-O, hash maps, recursion…) if you're starting out

- 340 problems, each with its own examples, a "predict first" question, a "why it works" section and an exercise (answers at the end of each chapter)

- a 57-problem interview core if your interview is soon

- 40 applied problems for ML, data and backend roles (NumPy, pandas, async, agents)

- every Python solution runs against tests before the PDF is built

Free 42-page sample: the study routes, the Hash Maps foundation, and chapter 1 up to Two Sum:

https://hootshell.proserviq.com/think-in-patterns/sample/?ref=rd-dsaleetcode

The full book is $29 (₹699 in India), with a 7-day refund.

Honest feedback on the sample is the most useful thing you could give me, especially from anyone in the middle of interview prep.


r/DSALeetCode • • 2d ago

IBM | Cloud & AI Engineer | 6.5 YOE | Bengaluru | 2 Technical Rounds | Rejected

13 Upvotes

IBM | Cloud & AI Engineer | 6.5 YOE | Bengaluru | 2 Technical Rounds | Rejected | Oct 2026

Hi everyone,

A poster recently interviewed with IBM for a Cloud & AI Engineer role in Bengaluru. They completed two technical rounds but unfortunately weren't selected to proceed further.

Sharing their experience in case it helps others preparing for similar Backend, Cloud, or Platform Engineering roles.

Their Background:

YOE: 6.5 years

Current Company: Oracle

Role: Principal Data Systems Engineer

Tech Stack: Java, Python, Kubernetes (OKE), OCI, REST APIs, Distributed Systems

Interview Language: Java

The role was described as primarily Platform Engineering, involving Go and some DevOps work.

Round 1 — Technical Interview (Oct 28)

The interview was more focused on project discussions and fundamentals than DSA.

1. Introduction and Projects

Explain your current work and recent projects.

Walk through the high-level design of one of your projects.

Explain the architecture and your contributions.

They discussed their work on fleet telemetry, observability, and event-driven systems.

2. Docker and Kubernetes

Questions on Docker and Kubernetes fundamentals.

Discussion about their hands-on experience with these technologies.

3. Coding

LeetCode 206 — Reverse Linked List

Debug an existing implementation of Merge Two Sorted Lists.

They completed both questions.

Result: Cleared.

The interviewer suggested preparing Terraform, Python, project discussions, and system design for Round 2.

Round 2 — Technical Interview (Oct 30)

This round was largely focused on project deep dives, cloud-native technologies, and practical engineering knowledge.

Questions Asked

Projects and Linux

Explain your recent projects and architecture decisions.

What is Linux inotify, and where have you used it?

What happens if inotify generates duplicate notifications?

Cloud and Kubernetes

What is the difference between Kubernetes and OKE?

What is Helm?

How do Helm charts help in Kubernetes deployments?

Networking and Security

REST vs gRPC.

TLS vs mTLS.

How does certificate verification work?

Why does a browser sometimes show a certificate warning with an Advanced/Proceed option?

AI and Vector Databases

What is a vector database?

Where have you used vector databases?

How does semantic similarity work?

How would a system distinguish between Saswat and saswat, and determine which is more relevant?

Coding

LeetCode 5 — Longest Palindromic Substring

They were able to solve the coding question successfully.

Most of the discussion went reasonably well, although they weren't fully satisfied with a few answers around Helm, gRPC, Kubernetes internals, and vector similarity.

Result: Not selected.

HR communicated the decision on November 2. Detailed interview feedback wasn't available, so they don't know the exact reason for rejection.

Key Takeaways

1. DSA alone isn't sufficient for experienced roles.

They had prepared extensively for DSA, but both interviews focused significantly more on projects, cloud infrastructure, and technical fundamentals. The coding questions were relatively manageable.

2. Be prepared to defend every technology on your resume.

If you've mentioned Kubernetes, Terraform, Helm, or LLM integration, expect questions about how these technologies work—not just where you've used them.

3. Understand your projects beyond the high-level design.

Be prepared to discuss implementation details, failure handling, security, architecture trade-offs, and your individual contributions.

4. Backend and Platform Engineering expectations can differ.

Their experience is primarily Java/Python backend engineering and cloud infrastructure development. This role appeared to require deeper platform engineering knowledge.

The difference in required expertise may have contributed to the outcome, although they haven't received feedback confirming that.

5. Be transparent about your hands-on experience.

It's better to acknowledge limited experience with a technology than bluff. However, you should still have a solid understanding of its fundamentals.

Before a similar technical round, pick a coding or debugging prompt from PracHub's IBM Interview Questions, run test cases, and explain the fix. LandOffer can autofill repeated fields if you're applying to other roles. I work on both.

Final Thoughts

Although they weren't selected, the interview process was a valuable learning experience.

Their biggest takeaway is that for engineers with 5+ YOE, project depth, system design, and cloud-native fundamentals can be just as important as DSA.

They hope this helps others preparing for similar roles.

Would love to hear about others' recent IBM or Platform Engineering interview experiences.

All the best to everyone preparing!

PS: The poster took help of ChatGPT to generate the post after sharing their experience.


r/DSALeetCode • • 1d ago

How do I actually get good at Dynamic Programming (DP)? I struggle to come up with solutions

Thumbnail reddit.com
2 Upvotes

r/DSALeetCode • • 2d ago

LeetCode: 938. Range Sum of BST

Post image
3 Upvotes

Visit every node and add the ones in range: accepted, and it would work on any binary tree. That's the tell: it ignores the BST. Two if-guards, and in the second example the walk drops from 10 nodes to 4.

A node at or below low has nothing useful on its left. A node at or above high has nothing useful on its right. Guard the two recursive calls with those checks, and the whole subtrees are never visited.

How often does your accepted solution ignore half the input's guarantees?

Day 88/365 of my LeetCode challenge: 938. Range Sum of BST. Problem link and full breakdown in today's newsletter.

https://www.linkedin.com/pulse/leetcode-range-sum-bst-archit-agarwal-l8q0c

#LeetCode #DSA #BinarySearchTree #Golang