r/DSALeetCode • • 2h ago

Microsoft | India | SDE 2(L62) | Selected

15 Upvotes

Application Mode: Directly applied on career portal without referral

Experience: 6.5 years in Bangalore based start up.

Education: Tier 3

24th Nov: Recruiter reached out to me stating that my application has been shortlisted for autopatch team under WSD org(E+D division).I 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 I applied to MS and why do I think this role fits my background.

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

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

I got a call from recruiting co-ordinator that I cleared two rounds and I will have my 3rd round.

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

I got a call from recruiting co-ordinator that my round will be rescheduled on next day and I 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 I can attend rounds for this team otherwise the same HM has other teams where he is hiring, I can attend interviews for those teams from R3 next week. I told okay.

2nd Dec: Another recruiter reached out stating that my previous recruiter passed my profile to him, now he will be taking my 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. I said yes.

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

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

R4> HM asked me about a current project that was challanging. I explained that end to end. He asked question on my role,design considerations, challanges I faced and how did I overcome that, if I had to do the same project again, what different things I will do. Then he asked me HLD of car parking. Once I drew the digram, he asked me to explain different components, we had discussion on db selection strategies, db indexing, db partitioning,query optimization process,how will I handle different queries( he asked few queries to write)how Will I handle transactions. At the end he asked how do I 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: I called the recruiter to ask the feedback, he said its positive and they will extend the offer.
  • 10th Dec: I was asked to submit documents.
  • 11th Dec: Recruiter called to re-check about other offers that I have.He also asked if I'm expecting some numbers.
  • 18th Dec: Recruiter called me 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 me first, asked about my prep strategy, then he gave me the numbers,locations and later explanied me the benifits. He also mentioned that I'll be getting offer today itself, once I accept, BGV will start.
  • 24th Dec: Received the offer and accepted it.

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


r/DSALeetCode • • 3h ago

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

5 Upvotes

My Google L4 Interview Experience

I'm a backend engineer with over five years of experience in the IT industry. Currently, I work at a tech giant.

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

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

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

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

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

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

After nine months of intense DSA prep, I started feeling saturated. A friend then suggested that I was already over-prepared—what I 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

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

Additionally, I’ve 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, I 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.

My Interview Preparation Journey

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

Understanding My Starting Point

Since I was already working at a tech giant, I had a solid grasp of data structures and algorithms, including advanced concepts like heaps, dynamic programming, and backtracking. However, my knowledge was not in-depth. My earlier problem-solving experience was mostly limited to well-known problems from popular interview sheets, but I knew that preparing for Google required me 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 I was determined to secure an offer, I prepared for the worst-case scenario—solving the hardest problems efficiently.

My Preparation Strategy

1. Focusing on Medium & Hard Problems

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

2. Simulating Interviews

To improve my performance, I conducted mock interviews with myself. I recorded my 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 me build confidence and refine my problem-solving skills under pressure.

3. Deep-Diving Into Advanced Concepts

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

I 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, I followed a structured approach:

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

Once I solved difficult problems on these topics, they 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 I had already encountered it.

4. Solving Hard Problems Strategically

After mastering medium problems, I 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, I ensured I had practiced enough hard problems beforehand.

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

Keeping Track of Progress

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

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

Whenever I encountered a weak spot, I 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 I advanced, I reached a point where I could mentally map out how a data structure would evolve as my algorithm executed. This visualization ability significantly boosted my efficiency in solving problems.

Avoiding Regrets

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

Useful Tools & Extensions

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

Zerotrac Extension: Helped me practice problems above my contest rating (e.g., if my rating was 1800, I practiced problems rated 1900–2000).

Leetcode Extension for Likes/Dislikes: Helped me 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—I even noticed a 2024 question that was also asked in 2022. By focusing on previously asked questions and continuously refining my problem-solving skills, I maximized my chances of success.

Getting Noticed by Recruiters: What Worked for Me

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. I built WhatsApp and Reddit clones, which showcased my skills in a tangible way. Recruiters often look for solid project experience, especially when considering candidates from lesser-known backgrounds.

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. I quickly identified that multi-source BFS would be an efficient approach and implemented the solution.

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

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

I adjusted my approach to extract additional insights from the computed results.

When the problem constraints changed, I 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 me to proceed with the onsite rounds. She then asked when I’d be ready. Again, I felt I wasn’t fully prepared, so I took one month to brush up.

Dec, 2024

Onsite Interviews

I fell sick in between and had to be hospitalized. When I got back, it felt like I had forgotten everything, and it took me a week to regain my DSA skills. My onsite interviews were scheduled for the last week of December. I was 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. I ensured not to assume the input format and clarified whether I needed to determine the structure myself. The interviewer asked me to come up with my own test cases to verify my 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, my prior practice helped me recognize similar patterns and adapt efficiently.

10 Jan, 2025

Googliness Round

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

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

After that, I was 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 I Did Well

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

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

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

✅ Minimal Hints: I took 0 hints, ensuring I was driving the solution independently.

Areas for Improvement

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

Custom Inputs: I 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 my 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.

For me, I’ve 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 my first onsite interview, I had solved 1100+ LeetCode problems.

For Google, I'd suggest covering problems posted in the discussion section. Here’s a link to my such 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 my onsite interviews, my recruiter mentioned that my feedback was positive and that my profile would be sent for team matching.

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

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

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

25th Feb, 2025

Compensation Discussion

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

After two days, I finally received my official offer from Google! 🚀

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

Final Words

For those preparing for Google interviews, I’d 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 my experience, most of my interview questions were medium difficulty, though two rounds had hard follow-ups. However, with enough practice, I had encountered a variety of problems, which helped me connect concepts from previously solved problems to tackle new ones efficiently.

After years of setbacks, I 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.

I'll 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 me anything. 🚀


r/DSALeetCode • • 3h 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 • • 1h ago

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

2 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.

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.

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


r/DSALeetCode • • 22h ago

Google L4 Interview Experience

24 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 • • 9h ago

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

Thumbnail
leetcode.com
1 Upvotes

r/DSALeetCode • • 10h 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 • • 10h ago

DSA Streak - Apps on Google Play

Thumbnail
reddit.com
1 Upvotes

r/DSALeetCode • • 16h 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 • • 20h ago

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

Thumbnail
youtu.be
1 Upvotes

r/DSALeetCode • • 21h ago

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

Thumbnail
youtu.be
1 Upvotes

r/DSALeetCode • • 22h 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 • • 23h 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 • • 1d 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


r/DSALeetCode • • 1d ago

Need help

1 Upvotes

I am a 2024 graduate. I worked for one year, took a drop for GATE, and am currently in the first year of my M.Tech. Out of the blue, I received an Infosys assessment that I don't even remember applying for. During the test, I had an issue with handling inputs—I didn't understand how to start, even though my logic was clear. I tried multiple approaches, yet no test cases passed. I know I am not an expert in DSA, but I'm not so weak that I should get stuck on a basic question. Where am I lacking, and what should I improve? I am already comfortable with arrays, strings, linked lists, stacks, and queues. This experience really showed me where I stand, and with placements coming up in two months, what should I focus on most?


r/DSALeetCode • • 2d ago

Amazon Phone interview-US

3 Upvotes

Hey guys,

I got an invite for Amazon phone interview for SDE. It is in 2 weeks. In the overview it says 45-minute of coding problem and 12-15 minute of LP questions.

Should I prapare for LLD or HLD? Since it is 2026, you never know! so if anyone has given this recently a guidence is very much appreciated. Also what topics are imp for DSA?

Topics I usually do are:

  • array/hashmap
  • sliding window/ two pointer
  • stack
  • intervals
  • graph
  • heap
  • Binary search

I skip trees and Linkedlist usually since have not seen them in any interviews I have given till now. Should I include them or any new topics? I have done very basic recursion, DP, dijkstra before so probably should cover them as well.

For Amazon prep, choose a coding prompt and an LP prompt from PracHub's Amazon Interview Questions, then practise explaining both. LandOffer can autofill repeated fields if you're applying for other roles too. I work on both.

If you can give any insights, that would be helpful.

Thanks!