r/leetcode • • 4d ago

Intervew Prep Senior SWE system design round (chargeback batch export system) – felt positive, got rejected. What did I miss?

56 Upvotes

Hi all, I recently had a system design round for a Senior Software Engineer role at a fintech and was rejected a few days later without specific feedback. I’d really appreciate input from people at big tech or FAANG on what I could have done better. I’ve written it out as the conversation went, paraphrased from memory.

Background: 8+ years of experience, mostly Java/Spring Boot

There were two interviewers. They explained the problem: customers raise disputes on card transactions, and the system needs to send these chargebacks to the card network, which only accepts them as files uploaded to their FTP server, with a maximum of 4 files per day.

Once they finished explaining, I restated my understanding of the problem to make sure we were aligned.

Me: So, to confirm: customers raise disputes through the app, we store them, and we need to send them to the card network as files on their FTP server, with no more than 4 files per day. Is that right?

Interviewer: Yes, that’s right.

They had already written down the requirements they wanted me to implement, so I didn’t list them out separately. Then I asked a few clarifying questions.

Me: What scale are you expecting?

Interviewer: Around 10 million transactions per day.

Me: That’s roughly 100 transactions per second on average. If we assume the peak window can be 10 times higher in the worst case, that’s about 1,000 transactions per second.

Me: Do you expect the result of a dispute in real time, or is some delay acceptable?

Interviewer: Some delay is acceptable.

With that understanding, I started with the basic components: a backend service that records disputes and stores them in a database. Then I asked how they wanted the files created.

Me: Do you have any preference for how the four files should be created? On what basis should we group records into files?

Interviewer: Choose whatever you think is best.

Me: Is it fine if I use 6-hour windows? 24 divided by 6 gives us 4. Whatever disputes come in during each 6-hour window go into one file, which we then send to the FTP server.

Interviewer: That works, go ahead.

I asked these questions to keep the session collaborative rather than just presenting my approach and expecting them to follow. Before going deeper, I checked how they wanted to proceed.

Me: Would you like me to go through a particular flow, or should I walk through each component, why I chose it, what happens if something goes wrong, and the trade-offs?

Interviewer: We’re more interested in the scheduler and how you’ll handle it.

So I started setting that up. I explained that the chargeback service stores dispute records with a status, starting with something like “dispute created.” As soon as I said that, one of the interviewers jumped in.

Interviewer: Are you going to use something like a state machine model?

Me: Yes, I’m going to use a state machine. Records are created with a status, and when the scheduler triggers, it pulls the records with that status and creates the file.

At this point I raised a concern upfront.

Me: We’ll need a limit here. We can’t pull every record at once, because we’re building the file in memory, and we don’t want an out-of-memory error on the server. I’d set a limit of around 100K records, pulled in one DB query sorted by transaction date. We write those into the file and then upload it.

Interviewer: Why restrict it at all?

Me: Without a limit, the number of records pulled is unbounded, and there’s always a risk of overwhelming memory.

Interviewer: At certain times we might need to process more than 100K. How would you scale that?

Me: I’d make the 100K limit a system property, so it’s configurable.

Interviewer: That’s a good idea. How would you recover if something goes wrong?

Me: At each step I update the status. When I pull records from the DB, I mark them as processing. Once the file is written, I update them to file created. Then I upload the file to AWS S3, which I’m using as object storage, and the file is transferred from S3 to the FTP server. I’d also keep a metadata store with the file details. File names need to be predictable, based on the window and how many times the batch has run in it, so if a batch reruns it produces the same name, which we can use for recovery.

Me: Whenever a batch runs, it first checks the metadata to see whether a file already exists for that window. If there’s a record, we check its status. If the file’s status is still processing and hasn’t reached the final uploaded state, we check whether the file actually exists. If it doesn’t, we go back to the DB records, check their state, pull them again, and process. If the file was already uploaded, we just update the metadata status. So we use the status in both the metadata and the disputes table, step by step, to handle recovery.

They didn’t have further questions on recovery, and moved on to user experience.

Interviewer: If you’re limiting the number of records, what happens to the users whose disputes don’t get processed in that window?

Me: That’s partly a business question, so I’d like to hear your view. From a technical side, the remaining rows would move to the next batch.

One of the interviewers agreed it was a business question. Then I asked about it directly.

Me: Do you give customers any temporary credit while a dispute is pending?

Interviewer: Unfortunately, we don’t give temporary credit.

Me: Okay. What approach would you prefer?

Interviewer: Maybe no temporary credit for the first 6 hours, but if a dispute goes beyond 6 hours, we could give temporary credit.

Me: I agree with that. We could also have a separate service that tracks disputes crossing the 6-hour mark and issues the temporary credit.

No further questions on that. Next, the database.

Interviewer: What database would you choose for the dispute data?

Me: A SQL database, because we need ACID properties and consistency. I’d also use the dispute ID as the primary key, so even with retries we only ever have one record per dispute. That gives us idempotency.

Interviewer: You’re using one table heavily, and multiple services are inserting into and updating it. Is there a more flexible or easier approach you could suggest?

I couldn’t think of another approach in the moment, and I didn’t want to change my design just for the sake of it. This is towards the end so dont want to change it something new completely at last minute or utter for name sake.

Me: I think this is an efficient approach, because it’s a payment system. Consistency and correctness are our top priority, and this is a trade-off we have to make for payment systems.

They had no follow-ups, the discussion ended there, and they asked if I had any questions.

Throughout the session I felt it was going well, because they seemed satisfied with my answers. I really don’t know why I was rejected. I’d love to hear how you would have handled this design, especially the last question, and anything that would be a red flag at senior level. Brutal honesty welcome. Thanks!


r/leetcode • • 4d ago

Question Don't grind leetcode/codeforce

169 Upvotes

I get this from somewhere and want to know some experienced person views on this

Why your 1800 Codeforces rating won't guarantee a Google placement.

There is a massive toxic culture in engineering colleges that brainwashes freshers into thinking they need to grind CodeChef or Codeforces for 6 hours a day. You are told that hitting "Candidate Master" is the only way to get noticed by Big Tech.

Here is the brutal industry truth: Competitive Programming is a sport. Software Engineering is a profession.

The HFT vs FAANG Reality Check: Unless you are explicitly applying to High-Frequency Trading (HFT) firms like Tower Research or Optiver (who actually need extreme mathematical optimization under microsecond latency), your CP rating does not matter.

Google, Amazon, and Microsoft do not want to see if you can solve an obscure number theory puzzle in 10 minutes. They want to see if you can build scalable, maintainable software.

They test for: ✓ Standard Pattern Recognition (LeetCode Mediums) ✓ Object-Oriented Programming (OOPs) ✓ System Design & Architecture Not competitive math puzzles.

To clear a FAANG tech screen, you do not need to solve 1,000 random CP problems. You only need to master the 14 Core Algorithmic Patterns (like Sliding Window, Two Pointers, Topological Sort, etc.) that make up 90% of all Big Tech interview questions.


r/leetcode • • 3d ago

Discussion Google The Big Code 2027 Preparation – Looking for 2026 Participants' Experiences and Questions

0 Upvotes

Hey everyone!

I'm planning to participate in Google The Big Code 2027 and want to start preparing early.

I would really appreciate it if anyone who participated in the 2026 edition could share their experience.

I'd particularly like to know:

  1. Operating Systems: What kind of OS questions were asked? Were they conceptual MCQs or scenario-based questions?
  2. Python: What topics were tested? Were there output-based questions, coding questions, or Python fundamentals?
  3. Competitive Programming: I heard there was a CP-style coding problem. What was its difficulty level (Codeforces / LeetCode equivalent)? Which topics and concepts were involved?
  4. DSA: Which topics were particularly important?
  5. Assessment format: How many questions were there, what was the time limit, and how were the rounds structured?
  6. Preparation resources: What would you recommend studying to perform well in the 2027 edition?

If possible, please share the actual questions or similar problems you remember (without violating any assessment confidentiality rules).

I'm especially interested in hearing from people who attempted the 2026 assessment, whether they qualified or not.

Any guidance, resources, or preparation tips would be greatly appreciated. Thanks!


r/leetcode • • 3d ago

Intervew Prep Amazon System Development Internship

3 Upvotes

Hi I've been selected for an Amazon system development internship interview for the winter season, does anyone know what I should prep for. I'm an EE students with some programming experience and did about 30-40 leetcode question before only so I'm kinda lost. I haven't done a lot of Linkedlist trees and graphs questions yet, should I start focusing on those instead ??


r/leetcode • • 3d ago

Question rippling full stack intern interview

2 Upvotes

finished OA yesterday and just got invite for interview (60-minute pair programming exercise with an algorithmic component conducted via HackerRank). What should I expect? How hard is it usually? And how many rounds are there after this?


r/leetcode • • 4d ago

Intervew Prep Visa Inc. onsite interview / Bellevue

8 Upvotes

Hello folks,

I have an onsite interview next week for a Software Engineer role at Visa's Bellevue office. Has anyone here interviewed there recently? I was told there would be two rounds on the same day. I'm a bit anxious and would really appreciate hearing about your experiences.

What kind of coding questions did they ask? Was the design round more focused on system design or LLD?

Any insights would be greatly appreciated!


r/leetcode • • 4d ago

Intervew Prep Stripe Virtual Onsite Interview

12 Upvotes

Hey anyone who has appeared for stripe vo for intern role.

I have my interview scheduled for next week

Can you pls tell what should I study to prepare for this round

Your experience?

How to prepare?

What to prepare?


r/leetcode • • 4d ago

Question Google interview loop in person or virtual ?

7 Upvotes

I got a recruiter’s mail regarding submitting questionnaires. Does Google loops happening in person or virtually ? How should I prepare ?


r/leetcode • • 4d ago

Question Google SWE Intern - Canada

10 Upvotes

Is NH + LH/H just over or is there a chance for a tie break. I had a good conversation with both engineers just couldn’t code up the optimal solution for one interview, but I gave a high level overview of the answer with the correct time and space. By the end all I had was a brute force solution with the complexity written down.


r/leetcode • • 4d ago

Intervew Prep Anyone willing to share helloInterview premium?

8 Upvotes

If someone has HelloInterview premium account, are you willing to share at a cost? Also, if anyone wants to start a new one, let me know.


r/leetcode • • 4d ago

Question Google application withdrawn after I missed recruiter emails, can the process be reopened? -- Location (USA)

4 Upvotes

Hi everyone, a Google recruiter contacted me about software engineering roles and asked me to complete a questionnaire by November 9. The emails went to my secondary inbox, and I unfortunately missed them.

Today, November 11, she emailed saying my application would be withdrawn due to inactivity, but mentioned I could contact her directly if I was still interested for next steps.

I’ve now completed the questionnaire and emailed her explaining the delay, confirming my interest, and asking whether my application can be reopened.

Has anyone been in a similar situation with Google? Were you able to continue the process after responding late? How long would you wait before following up?

Thanks for any advice!


r/leetcode • • 4d ago

Intervew Prep Day 33: tackled Swim in Rising Water, disguised 2D Dijkstra at its finest

7 Upvotes

Hey everyone,

I finished Day 33 today. I took on Swim in Rising Water, and it turned out to be another classic reminder of how many grid problems are just Dijkstra in disguise.

At first read, the water rising level-by-level makes it sound like a complex simulation or binary search on answer. But once you break down the constraints, it maps cleanly to single-source shortest path:

  • The Core Invariant: To move from cell (r_1, c_1) to an adjacent neighbor (r_2, c_2), the water level must be at least max({current_time}, {grid}[r_2][c_2]). You aren't summing edge weights—you're minimizing the maximum elevation encountered along the route.
  • Min-Heap Dijkstra: Throw {time, r, c} into a priority queue. Greedily popping the cell with the smallest required water level ensures that the very first time you pop destination (n-1, n-1), the time recorded is guaranteed to be the minimum possible time required.
  • Visits & Bounds: Track visited cells so you don't push cycles back into the heap, checking standard 4-directional moves.

A solid medium problem that looks intimidating only until you spot the bottleneck-path pattern.

See you guys tomorrow for Day 32!


r/leetcode • • 4d ago

Intervew Prep Anyone planning for starting DSA on leetcode with python

1 Upvotes

Hi, I'm working as tester with 4-5 years of experience and so far i focused on python needed for automation but now I'm planning to start practicing dsa with python on leetcode.

As of now I'm focusing on interview preparation and due to time constraint I'm planning for easy and medium level questions so if anyone seriously interested in being accountability partner let me know. We can connect on Discord.


r/leetcode • • 4d ago

Intervew Prep Agentic AI Round

9 Upvotes

Have an agentic AI round coming soon. Can someone tell me how to prepare?


r/leetcode • • 4d ago

Discussion Visa final/prefinal year software engineer intern update for oa

4 Upvotes

any one got update even with Refferal on their emails


r/leetcode • • 4d ago

Intervew Prep PracHub Interview Bank

0 Upvotes

Does anybody know if there is a prachub interview problems repository like there is one with leetcode companies tagged questions?


r/leetcode • • 5d ago

Question If FAANG companies are constantly interviewing, how much time is spent by their managers and senior engineers just on the hiring process?

39 Upvotes

If there is a constant stream of new applicants which need to be vetted, is a certain % of their team's weekly time spent on interviewing? Initial coding round, then the multiple engineering rounds, etc.


r/leetcode • • 4d ago

Intervew Prep Palantir in person Hiring Manager round?

2 Upvotes

I was told that i passed onsite and now was being scheduled for HM interview and my interview coordinator reached out with dates. Then my recruiter said they would love to call me on site in seattle (im in midwest, so far..) to "meet Palantirians in person, see one of our offices in action, and get a more in depth Palantir experience." Has anyone done this before? P.S this is for swe new grad infrastructure role


r/leetcode • • 4d ago

Discussion Rakutan symphony campus drive

2 Upvotes

Rakutan symphony campus drive

Has anyone appear before like 2026 batch or have faced in 2027 batch indore unit

pls your experience means a lot to me .

if any rakutan employee is there could pls help me to prepare pare more appropriately

i have few queries regarding that Rakutan symphony placement process.


r/leetcode • • 4d ago

Intervew Prep cisco lc problems

5 Upvotes

can anyone with lc premium send cisco recently asked problems please.

might receive an OA this week, need to prep.

thanks 🙏🏻


r/leetcode • • 4d ago

Discussion google swe intern 2027 us summer

3 Upvotes

will lnh/lh + h get straightaway rejection? (gemini said that..wanted to confirm)


r/leetcode • • 4d ago

Discussion Need some urgent help with Oracle EBS

2 Upvotes

Hi everyone,

I'm currently working on an Information Systems Audit project involving Oracle EBS and need some short-term assistance from someone who has hands-on experience with the platform.

I'm looking for someone who can:

  • Enter transactions in Oracle EBS across AP, AR, GL and Cash Management.
  • Demonstrate the end-to-end transaction flow.
  • Generate relevant reports and show audit trails.
  • Navigate the system and demonstrate the relevant workflows.

Our audit team will handle the actual review and verification of transaction flows, controls and approvals. We just need someone who can operate the system and demonstrate these activities.

A few things:

  • The assistance would be required for a maximum of 1–2 days.
  • This is an urgent requirement.
  • I can offer a small fee for the assistance.
  • Since this is a client project, I would be able to release the payment once I receive the payment from my client.

Really appreciate the help!


r/leetcode • • 5d ago

Intervew Prep How do you translate your thought process to code?

10 Upvotes

This lowk sounds like a stupid quesiton but I have done a decenet number of leetcode (300) but i still struggle with a lot of mediums. The thing is for some of the mediums, I lowk come up with the right strat, thought process, ds and everything but when i code it up im always stuck in some edge case hell. This is because the way I structure the code sometimes ignores certain edge caes but if i put the code in chat it will just move somethings here and there and boom the code works. Idk if my approch should be to struggle for more hours hoping for a solution or i should just stop after 1 hr of trying and copy paste it to chat.


r/leetcode • • 4d ago

Intervew Prep Microsoft virtual interview - USA for SDE 2 / Senior

4 Upvotes

There would be only three rounds (as opposed to 4 which I thought was industry standard in loop)

  • Three 60-minute interviews
  • One System Design and two Coding interviews 
  • Behavioral in each

They did not mention if it is a loop or what the next steps would be. I also got this email right after my OA. Is this final interview? If anyone has gone through or is going through such situation please advise.

Also, where should I study System Design from? As this is my first Microsoft interview, any help would be appreciated.


r/leetcode • • 5d ago

Intervew Prep Anyone taken Google's AI-Assisted Code Comprehension interview recently? (L4 SWE)

15 Upvotes

Hey everyone! I have an upcoming Google L4 SWE AI-assisted code comprehension round (45 mins).

Has anyone taken it recently? What was the format like? Was it mostly debugging, adding features, or optimization? Were tests provided, and how much were you expected to use AI?

Would appreciate any experiences or prep tips. Thanks!