r/OfferEngineering • • 49m ago Bravo

Community Discussion Senior engineers aren't getting down-leveled because of coding. It's these two rounds.

5 Upvotes

There's a pattern I keep seeing with experienced engineers on the job market right now:

They grind LeetCode for weeks, pass the coding rounds, and then either get rejected or get an offer one level below where they interviewed.

When you dig into why, it's almost never coding. Coding is mostly pass/fail. Behavioral and system design are where the level actually gets decided, and they're the rounds people prep for the least.

Here's what separates a Senior/Staff signal from a mid-level one in each.

Behavioral: where levels quietly get lost

1. "We" doesn't get you leveled. "I" does.
The interviewer has one job: figure out what you did. If every story is "we shipped," "we decided," "we migrated," they have nothing to give you credit for. Even if you led the whole thing.

  • ❌ "We rebuilt our notification pipeline and cut delivery failures by 60%."
  • ✅ "I spotted that most failures came from one retry bug, wrote the proposal to rebuild the pipeline, and aligned three teams on the rollout plan. The team shipped it in a quarter, and failures dropped 60%."

Same project, very different level signal.

2. Your stories need to cover more than "I solved a hard bug."
At Senior+, interviewers are checking whether your impact goes beyond your own code. Across your set of stories, try to cover:

  • Technical depth: problems you personally cracked
  • Direction: roadmaps, technical strategy, decisions you owned
  • People: mentoring, conflict, raising the team's bar
  • Execution: working across teams, getting things unstuck

And check the scope. A Staff-level story should affect more than one team. If it doesn't, the interviewer will notice.

3. Lead with the answer.
Most people tell stories in chronological order, so the actual answer shows up two minutes in. Flip it: one-sentence answer → why it was hard → what you did → result.

4. Keep it under ~90 seconds.
A tight answer invites follow-up questions, which is where you get to show depth. A long one burns your time, and the interviewer's attention goes with it.

System design: where "good enough" caps your level

1. Structure beats brilliance.
Interviewers don't need your design to be perfect. They do need to be able to follow it. A predictable flow helps a lot: user flows → requirements → core entities → high-level design → deep dive.

Just as important is knowing what to leave out at each stage. Don't name databases while discussing user flows. Don't tune cache TTLs during the high-level design. Spend your time where the interviewer is leaning in.

2. Narrate. Constantly.
In a design interview, silence reads as being stuck. Say what you're doing and why, even the obvious parts. Call out shortcuts on purpose, like "I'm keeping this simple for now and will come back to it once we talk about scale." The interviewer then knows you see the gap and won't count it against you.

3. The 5-step decision pattern.
This is the biggest difference between mid-level and senior answers. For every major decision:

  1. The problem: what are we solving here?
  2. The obvious approach: and where it breaks
  3. A better approach: and why it's better
  4. The cost: what did we give up?
  5. The mitigation: how do we get some of it back?

Example: rate limiting an API

  1. Need to cap each user at N requests/min across many servers.
  2. Obvious: an in-memory counter per server. Breaks as soon as you have more than one server.
  3. Better: a central counter in Redis, so every server sees the same count.
  4. Cost: one extra network hop per request, and Redis is now on the critical path.
  5. Mitigation: local token buckets that sync with Redis periodically, and fail open if Redis is down.

Most candidates stop at step 3. Steps 4 and 5 are where the interviewer writes "strong senior signal."

Questions for this sub:

  • Have you ever been down-leveled? Did you get any hint about which round caused it?
  • What's the toughest behavioral follow-up question you've gotten?
  • Do interviewers at your target companies let you drive the system design, or do they take over?

Share below, or post your interview experience on Chill Interview -> LINK.


r/OfferEngineering • • 3h ago

System Design "Just run it in Docker" is how you fail Design LeetCode

8 Upvotes

Most candidates draw the same diagram for Design LeetCode: API server, a problems table, a submissions table, and a box labeled "Docker" that runs the code. Then they spend 30 minutes on pagination for the problem list.

That's backwards. The problem list is a cached read: a few thousand rows that barely change. The real question hiding inside is: you are building a service whose entire job is to run arbitrary code from strangers on the internet, return results in under 5 seconds, and survive 100K people hitting it at the same moment during a contest.

Here's where the interview is actually won or lost.

1. "Docker" is not a security boundary

Containers share the host kernel. One kernel exploit in a submission and the attacker is on your worker, next to everyone else's code and test cases. Stronger answers:

  • Run each submission in a gVisor sandbox or a Firecracker microVM, not a plain container
  • No network. None. Otherwise your judge becomes a crypto miner or a scanner
  • cgroup limits on CPU, memory, and process count (while(1) fork(); is a classic)
  • Two timeouts: CPU time and wall-clock time (sleep(1000000) uses zero CPU)
  • Read-only filesystem, non-root user, seccomp to block dangerous syscalls

If you say "Docker" and stop, a good interviewer's next question is "what happens when someone submits a fork bomb?"

2. The 5-second budget disappears faster than you think

Compiling C++, Java, or Rust can eat a big chunk of that budget before a single test runs. Then you run 50+ test cases. So:

  • Keep warm pools of sandboxes per language. Never boot a fresh environment on the request path
  • Cache test cases on the worker's local disk. Don't fetch them from object storage per submission
  • Run all tests inside one sandbox and stop at the first failure
  • Make submission async: POST /submissions returns an ID right away, and the client polls (or uses SSE) for the verdict. Don't hold an HTTP request open while a queue backs up

3. Contests are the only traffic spike you get a calendar invite for

At 100K participants, a huge share of submissions land in the first few minutes, all against the same few problems. But unlike a viral post, you know exactly when it starts. So:

  • Pre-scale the worker fleet before the contest starts. Reactive autoscaling will be too late
  • Put a queue between the API and the workers so the burst turns into a backlog, not dropped requests
  • Use a separate queue or priority for contest submissions, so 100K practice users can't starve them (or the other way round)

4. The "live" leaderboard is a trap

Pushing a leaderboard update to 100K websockets on every accepted submission is the fastest way to set money on fire. Instead:

  • One Redis sorted set per contest. 100K members is small for Redis
  • Encode the ranking into a single score, e.g. problems_solved * 10^9 - penalty_seconds, so ties break correctly with one ZADD
  • Snapshot the top N every few seconds and serve it from a cache or CDN. Your own rank is a separate ZREVRANK call
  • "Live" means a few seconds old. Nobody can tell the difference, and it's the availability-over-consistency trade-off the requirements ask for anyway

5. Things that separate a hire from a strong hire

  • Idempotent submissions. A double-click or a client retry shouldn't create two submissions (or two penalties)
  • Rejudging. When a problem's test cases turn out to be wrong mid-contest, can you re-run every affected submission and recompute the leaderboard?
  • Never leak hidden test cases in error output. "Expected 42, got 41" on test #37 is a gift to cheaters

TL;DR: The CRUD part is 10% of the score. The interview is really about sandboxing, a latency budget, a burst you can schedule for, and a leaderboard that's "live enough."

Curious what others got pushed on for this one. Did your interviewer care more about the sandbox or about contest scale? I also put up a full full Design Leetcode article in case anyone is interested.


r/OfferEngineering • • 8h ago

Interview Experience Discord Senior SWE Interview — Can You Handle a Never-Ending Event Stream?

1 Upvotes

This interview experience was originally shared on Chill Interview

Interview Summary: The technical screen involved building a real-time user session aggregation system from a continuous stream of messaging events. The problem was based on a practical data engineering scenario rather than a traditional LeetCode algorithm.

Coding Phone Screen: Real-Time User Session Aggregation

I was asked to design and implement a system that processes message events generated by Discord users. Whenever a user sends a message to a channel, the backend produces a send_message event containing the user ID, channel ID, and timestamp.

The system needs to continuously monitor these events and produce a new stream of aggregated user sessions. Each session represents a period of messaging activity for a particular user.

Part 1 — Parse Incoming Message Events

The input consists of newline-delimited JSON records, with one event per line. Each record contains the following fields:

  • event_name: The event type, which is send_message.
  • timestamp: The time the message was sent, represented as an ISO 8601 timestamp.
  • user_id: The identifier of the user who sent the message.
  • channel_id: The identifier of the channel where the message was sent.

For example, the incoming stream could contain:

{"event_name": "send_message", "timestamp": "2025-09-12T09:15:20Z", "user_id": "42", "channel_id": "7"}
{"event_name": "send_message", "timestamp": "2025-09-12T09:18:45Z", "user_id": "42", "channel_id": "7"}
{"event_name": "send_message", "timestamp": "2025-09-12T09:21:10Z", "user_id": "19", "channel_id": "3"}

The interviewer specified that events would arrive in chronological order. I could also assume there were no missing, duplicated, or corrupted records, so the problem didn't require handling out-of-order delivery or invalid event data.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.


r/OfferEngineering • • 5h ago

Interview Experience Oracle SWE Interview — Coding and System Design Felt Easy, Still Got Rejected. Is Competition That Brutal?

5 Upvotes

This interview experience was originally shared on Chill Interview

Interview Summary

The process consisted of an initial phone screen followed by four virtual onsite rounds covering coding, system design, project deep dives, and behavioral questions.

Round 1 — Phone Screen: Trapping Rain Water and Behavioral Questions

The coding problem was LeetCode 42 — Trapping Rain Water, I was given an array of non-negative integers representing the heights of bars in an elevation map. The task was to calculate how much rainwater could be trapped between the bars after rainfall.

The interviewer also asked a behavioral question about managing changes in project scope. I needed to discuss my experience dealing with evolving requirements and how I responded when the scope of a project changed. After passing this screen, I advanced to the four-round virtual onsite.

Round 2 — Onsite: Project Deep Dive and Behavioral Questions

The first onsite round focused on my previous engineering experience. The interviewer selected one or two projects from my resume and asked me to explain the work in greater detail. The discussion also included several standard behavioral questions:

  • Tell me about a time you experienced conflict at work.
  • Describe a situation where you mentored someone.
  • How do you prioritize tasks when multiple things need your attention?
  • Tell me about a project or situation where you experienced failure.

This round combined project experience with behavioral evaluation. I needed to use concrete examples from my previous work rather than solve a new technical problem.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.


r/OfferEngineering • • 10h ago

Interview Experience Brex (Fintech) Senior SWE Interview — AI Can Code, But You Still Need to Know Java

4 Upvotes

This interview experience was originally shared on Chill Interview

Interview Summary: The interview started with a simple affordability check, then progressed to purchasing cards and updating player state. The final follow-up introduced a discount mechanism where previously purchased cards reduced the number of gems required for future purchases. I implemented the functionality in Java using classes, maps, and lists.

Interview Details

Coding: Card Purchasing and Discount System

The interviewer presented a game involving players, collectible gems, and purchasable cards. Each card had a color and a cost expressed as a collection of colored gems. The game supported five gem colors:

enum Color {
    BLUE,
    WHITE,
    GREEN,
    RED,
    YELLOW
}

A player maintained an inventory of gems and a collection of purchased cards. The task was to implement the operations needed to determine whether a player could afford a card, purchase it, and eventually apply discounts based on cards already owned.

Part 1 — Check Whether a Player Can Purchase a Card

The first task was to implement a function called can_purchase() that accepts a card and a player's gem collection. The function should return true if the player has enough gems of every required color to afford the card, and false otherwise.

Each card's cost was represented by a mapping from gem colors to required quantities. The player had a corresponding mapping representing the number of gems available for each color.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.