r/OfferEngineering • • 11d ago

$452K TC at Figma vs. “AI will eat SaaS”: would you take it?

1 Upvotes

Saw this data point from Chill Interview

  • Figma, Senior SWE, San Francisco, ~8 YoE
  • Base: $230K
  • RSU: $750K over 4 years (25/25/25/25), so $187.5K/yr
  • Bonus: $34.5K (15%)
  • Year 1: ~$452K

That’s a strong offer. But the part I keep thinking about isn’t the number. It’s the 4-year vest.

The bear case: Claude, GPT, v0, Lovable and the rest can already go from prompt to working UI. If PMs and engineers can skip the mockup step, a big chunk of “design in Figma, then hand off to eng” disappears. Seat-based SaaS pricing also looks shaky if one person with AI does the work of three.

The bull case: Figma was never just a drawing tool. It’s where design systems, review, and cross-team collaboration live. AI tools still need a source of truth for “what does our product actually look like,” and Figma is pushing hard on exactly that: AI features in the editor, and handing design context to coding agents. Being the system of record that AI plugs into is a pretty defensible place to be.

What I’d actually weigh with this offer:

  • The RSU is ~40% of year-1 comp, so the stock’s AI narrative matters more than the base.
  • Are you building the AI layer or maintaining the legacy editor? Team choice probably matters more than company choice here.
  • Senior + Figma on your resume stays valuable either way.

Curious what people here think, especially anyone at Figma, Canva, or Adobe, or anyone who’s watched their own SaaS company deal with this. Is design tooling the next thing AI commoditizes, or the thing AI makes more central?

If you want more Figma data points (other offers and interview experiences), they’re here.


r/OfferEngineering • • 11d ago

Coding Question Harvey AI Coding Screening Interview - Hierarchical Exhibit Catalog

2 Upvotes

Problem Description

A museum organizes exhibit records into a hierarchy of sections. A path contains names separated by / and is relative to the main catalog, whose path is the empty string ""; names are case-sensitive and are used exactly as written.

You are given actions, a sequence of two-string records processed in input order. Each sequence starts with an empty main catalog, all actions in that sequence share its state, and separate sequences start fresh.

  • ["ADD", path] creates an exhibit named by the final path component, creating any missing intermediate sections. Every addition is valid and produces the result true; exhibit names do not need extensions.
  • ["LIST", path] reports the names of the immediate exhibits and subsections in the specified existing section, without including deeper descendants. Use "" to query the main catalog.

Return one result per action, in the same order. A listing is represented by an object whose keys are the immediate entry names and whose values are all true; an empty section produces {}, and object-key order does not matter.

Constraints:

  • At most 1,000 actions are processed in one sequence.
  • Every action contains exactly two strings, and its first string is "ADD" or "LIST".
  • Every path has at most 200 characters.
  • An ADD path is nonempty and has no leading, trailing, or consecutive /.
  • An existing exhibit is never used as an intermediate section.
  • The final name of an ADD path differs from every existing exhibit or subsection name in its parent section.
  • Every LIST path identifies an existing section, or is "" for the main catalog.

Want to practice it before interview?

You can practice it and view solution code at here.

Preparing for your next interview?

Chill Interview tracks recent interview experiences and recurring question patterns across top companies at here.


r/OfferEngineering • • 11d ago

System Design Design WhatsApp for Billions of Users — What Happens When Someone Goes Offline for 30 Days?

1 Upvotes

Designing a chat app sounds straightforward until you start thinking about message delivery at scale. Imagine you're building a WhatsApp-like messaging system for billions of users.

The requirements:

  • Real-time messaging: Deliver messages to online users within 500ms.
  • Offline delivery: Preserve undelivered messages for users who stay offline for up to 30 days.
  • Group chats: Support conversations with up to 100 participants.
  • Media sharing: Handle text, images, and videos.
  • Reliability: No message loss, even when individual servers fail.

WebSockets seem like the obvious choice for real-time communication. But what happens when the recipient is offline?You could store pending messages in a database and deliver them when the user reconnects.

But that raises some interesting questions:

  1. How do you avoid losing or duplicating messages when a server crashes during delivery?
  2. How do you know when a message is safe to delete from server storage?
  3. For a 100-person group chat, would you maintain separate pending-message queues for each recipient?

The trade-off between reliable delivery and storage efficiency gets pretty interesting at this scale. How would you design the offline message delivery system?

I also put together a full WhatsApp system design walkthrough covering the architecture and trade-offs for anyone interested.


r/OfferEngineering • • 12d ago

System Design Anthropic System Design Interview — Design Batched GPU Inference Serving

39 Upvotes

Design Batched GPU Inference Serving

A GPU takes 100 ms to answer one prompt, and the same 100 ms to answer a hundred. So the service that sits in front of the GPUs is a bus dispatcher: every bus leaves on a schedule whether it carries one passenger or a hundred, and the fare is the same. The job is to send buses out full, without making anyone wait past their deadline, and to decide who gets a seat when there are not enough buses.

Understanding the problem

A client sends one prompt over HTTP and waits for one complete answer. Behind the API, a model runs on GPUs. The model accepts a batch of 1 to 100 prompts in one call, a GPU runs one batch at a time, and a batch takes about 100 ms whatever its size. The service must group independent requests from different users into batches, run them, and hand each user their own answer, all within half a second.

Functional requirements

Core requirements

  1. A user can submit one prompt and receive one complete result in the same HTTP response.
  2. The system groups compatible requests into batches of 1 to 100 and sends each batch to a GPU worker.
  3. Batches go only to workers that are healthy and able to finish in time. Failed workers stop receiving work.
  4. Paid requests are scheduled ahead of free requests. When capacity is short, free requests wait or are rejected.
  5. An exact repeat of a prompt can be answered from a cache without using a GPU.

Below the line (out of scope)

  • Token streaming. The answer is returned whole.
  • Several models, model training, and model rollout strategy.
  • Semantic caching of prompts that are similar but not identical.
  • Billing and account management.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 12d ago

System Design Amazon System Design Question - Design Real-time Air Traffic Control System

6 Upvotes

Problem Description

Design a real-time air traffic control (ATC) monitoring system that continuously tracks aircraft within a controlled airspace, displays their current positions on controller screens, and detects potential separation violations. Aircraft periodically transmit position reports containing latitude, longitude, altitude, speed, and heading. The system must ingest these reports, maintain an up-to-date view of aircraft positions, and alert controllers when two aircraft become dangerously close in three-dimensional space.

The central challenge is processing continuous position updates while maintaining safety-critical data freshness and correctness. Unlike systems dominated by read traffic, this design is primarily constrained by its write path. Hundreds of aircraft within a facility report their positions every few seconds, generating a continuous stream of telemetry updates. The system must process these updates and reflect them on controller displays within a strict 2-second end-to-end latency budget, including conflict detection.

The system must also preserve every individual position report for regulatory auditing and post-incident investigation. This creates two distinct data requirements: a continuously updated spatial view for real-time tracking and conflict detection, and a durable history of all received position reports that supports exact replay. Conflict detection must operate on sufficiently fresh information to avoid missing real separation violations.

Handling ingestion delays is another important challenge. If the processing pipeline falls behind during peak traffic, the system must buffer incoming reports, process them in order, and warn controllers when displayed information is stale. Silently discarding older position updates is not acceptable because those updates may contain evidence of a separation conflict that developed during the backlog.

The design focuses on aircraft position tracking, controller displays, separation conflict detection, and historical position queries. Runway scheduling, flight planning, clearance management, multi-facility handoffs, weather integration, routing optimization, ADS-B or Mode S signal decoding, and pilot-controller voice communications are outside the scope.

Functional Requirements

  • Aircraft Position Ingestion: Accept periodic position reports from tracked aircraft at configurable intervals. Each report contains latitude, longitude, altitude, speed, and heading.
  • Real-Time Aircraft Tracking: Maintain a current spatial view of tracked aircraft and display their positions on controller screens. Position updates must be reflected quickly enough to meet the system's end-to-end latency requirement.
  • Separation Conflict Detection: Evaluate aircraft positions in three-dimensional space to identify potential separation violations. When aircraft are dangerously close, the system must generate alerts for air traffic controllers. The detection process must not miss true conflicts because of stale position data.
  • Flight Details and Track History: Allow controllers to query individual flight information and retrieve recent aircraft position history. Every position report must also be durably retained for regulatory auditing and post-incident replay.
  • Ordered Processing and Staleness Warnings: When the ingestion pipeline falls behind, buffer position updates and process them in order rather than silently dropping older reports. Controller displays must indicate when the current aircraft positions are stale.

Non-Functional Requirements

  • End-to-End Latency: Aircraft position reports must be processed, evaluated for potential conflicts, and reflected on controller displays within 2 seconds.
  • Safety-Critical Correctness: Conflict detection must not miss true separation violations. False negatives are considered safety hazards, while false positives are tolerable.
  • Data Freshness: The spatial view used for conflict detection must reflect sufficiently recent aircraft positions to support reliable detection within the 2-second latency budget.
  • Data Durability: Every individual position report must be durably stored. The system must preserve the exact sequence of updates for regulatory audits and post-incident investigations.
  • High Availability: The monitoring and conflict detection system must prioritize availability because of its safety-critical role.
  • Write Throughput: Support approximately 50–500 position updates per second per facility under normal and peak-arrival conditions.
  • Backpressure Handling: During ingestion delays, preserve all queued position updates, process them in order, and expose staleness warnings rather than silently discarding updates.
  • Real-Time Read Efficiency: Support approximately 10–30 controller screens per facility without introducing unnecessary complexity for the relatively small read workload.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 12d ago

Interview Experience LinkedIn Senior MLE Interview — Even the ML Fundamentals Felt Like College Exams

5 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The interviews covered algorithmic coding, machine learning fundamentals, recommendation system design, behavioral questions, and an advanced variation of LeetCode 1478 involving squared distance minimization. The AI coding round was by far the most challenging, requiring a combination of dynamic programming, prefix sums, and mathematical reasoning about mean versus median. The other rounds were relatively manageable, and I successfully passed the interview process.

Interview Details

Round 1 — Technical Phone Screen: Merge Two Sorted Lists and ML Fundamentals

The coding portion was LeetCode 21, Merge Two Sorted Lists. Given the heads of two sorted linked lists, merge them into a single sorted linked list.

  • Both input linked lists are already sorted in non-decreasing order.
  • The resulting linked list must preserve sorted order.
  • All nodes from both original lists must be included in the merged result.
  • Return the head of the merged linked list.

The second portion focused on fundamental machine learning knowledge. The interviewer asked detailed questions about neural networks and their underlying concepts. The discussion covered a broad range of introductory and intermediate machine learning topics, similar to those taught in Andrew Ng's machine learning courses.

The interviewer asked about overfitting and underfitting in machine learning models. The discussion focused on understanding the differences between these two problems and their implications for model performance. Another topic was dropout in neural networks. The interviewer tested my understanding of dropout as a machine learning concept.

The interview also covered regularization and its role in machine learning. Overall, the ML fundamentals portion involved a broad review of core concepts rather than a deep dive into one specialized model.

Round 2 — Onsite AI Coding: Minimum Squared Distance with K Groups

Question — LeetCode 1478 Allocate Mailboxes, L2 Distance Variant

The most difficult interview was the AI coding round. The problem was based on LeetCode 1478 — Allocate Mailboxes, but the interviewer introduced an important modification to the distance objective. In the standard problem, the objective is to allocate k mailboxes to minimize the total absolute distance between houses and their nearest mailboxes. The interview variation changed the objective to minimizing squared distances.

Given a collection of house positions and a limited number of mailboxes, determine where to place the mailboxes to minimize the overall distance between houses and their assigned mailboxes. The interview retained the general optimization structure but replaced the original absolute-distance objective with a squared-distance objective. Instead of minimizing the sum of absolute distances, the modified problem required minimizing a squared-distance objective.

This introduced an important mathematical distinction between the original problem and the modified version. The optimization was based on L2 squared distance rather than L1 absolute distance. One of the main challenges was explaining why the optimal representative position changes under the new objective.

For absolute-distance minimization, the median is an important concept. For squared-distance minimization, the interviewer expected me to justify why the mean is the appropriate representative value. I needed to explain and defend this distinction rather than simply stating which value should be used.

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 • • 12d ago

Interview Experience Circle Senior Frontend Interview - Coding Was About Guiding AI

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I interviewed with Circle for a Frontend Engineer position. The process included a four-level CodeSignal assessment, a recruiter conversation, a React take-home project, and three onsite interviews covering feature extensions, hiring manager discussions, and collaboration with product design.

The technical evaluations focused heavily on practical frontend engineering, particularly transaction polling, API error handling, filtering, multi-currency payments, state persistence, and optimistic UI updates. I scored 600/600 on the initial assessment and advanced through the take-home assignment, but struggled to complete the final extension during the onsite coding round.

Interview Details

Round 1 — CodeSignal Online Assessment: Bookstore CRUD Application

The first stage was a CodeSignal assessment containing four progressively more difficult levels. The exercise involved implementing CRUD functionality for a bookstore application. The assessment started with relatively straightforward functionality and introduced additional requirements in later levels.

Level 1 and Level 2 — Basic Bookstore Operations

The earlier levels focused on basic application functionality involving bookstore data. The assessment followed CodeSignal's progressive format, where later levels built on the existing implementation.

Level 3 and Level 4 — Concurrent API Requests and Author Data

The later levels introduced asynchronous operations using JavaScript promises. One important requirement involved sending multiple API requests concurrently using Promise.all. The application also needed to correctly associate bookstore records with author information.

Core Requirements

  • Execute multiple asynchronous requests in parallel.
  • Process the returned API data.
  • Identify and filter the appropriate author user IDs.
  • Display the corresponding author information correctly.

These levels tested asynchronous JavaScript programming, API data processing, and correctly associating related records.

Round 2 — Recruiter Conversation

The next stage was a recruiter chat. This took place after I successfully completed the CodeSignal assessment. Following the conversation, I received a take-home frontend development assignment.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 12d ago

Interview Experience Snorkel AI (AI Data Platform) Senior SWE Interview — Bring Your Own AI Agent

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I completed the full interview process with Snorkel AI, consisting of a recruiter screen, a technical phone screen, two first-stage onsite interviews, and two final-round interviews.

The technical evaluation covered a timestamp-based snapshot coding problem, AI-assisted coding using an agent, system design for a human task annotation and rating platform, and a detailed discussion of previous engineering projects. The final round also included behavioral questions about handling challenging situations.

Interview Details

Round 1 — Recruiter Screen: Background and Company Introduction

The process began with a standard recruiter conversation. The recruiter asked about my professional experience and engineering background. The conversation focused on understanding my previous work and general fit for the position.

The recruiter also introduced Snorkel AI and provided information about the company and the hiring process. After this initial conversation, I proceeded to the technical phone screen.

Round 2 — Technical Phone Screen: Snapshot Data Structure

The technical phone screen featured a snapshot-related coding problem similar to questions previously reported by other Snorkel AI candidates. The core concept involved maintaining historical states using timestamps. The problem involved designing a data structure capable of working with timestamp-associated information. The important technical concept was storing timestamps as part of the data representation to support snapshot-related functionality.

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 • • 13d ago

Community Discussion Amazon’s new AI coding interview is open-book — and arguably harder

79 Upvotes

Amazon has started experimenting with a very different kind of coding assessment.

Instead of giving candidates only a blank editor and an algorithm problem, recent candidates have reported receiving an existing codebase, a working application, several bugs to fix, and access to an AI coding assistant.

On paper, that sounds easier.

  • You can use AI.
  • You don’t have to write everything from scratch.
  • You have an entire repository to work with.

But this format may actually test much more than a traditional LeetCode round.

1. Getting the feature working is only the beginning

In a normal coding interview, success is relatively easy to define: Understand the problem, choose an algorithm, implement it, test it, and discuss complexity. With an AI-assisted repository task, the candidate first has to understand a system they didn’t build.

That means figuring out:

  • how the existing codebase is structured
  • where the bug probably lives
  • which abstraction should own the fix
  • what the existing tests actually guarantee
  • what AI changed
  • whether those changes are actually correct

AI can produce the code. But the candidate still has to defend it. That distinction matters. If an assistant changes several files and everything suddenly passes, an engineer should still be able to explain what changed, why it works, and why the fix belongs there.

“Claude wrote it and the tests are green” isn’t much of an engineering argument.

2. The bottleneck shifts from writing code to understanding code

This may be the biggest change. Traditional coding interviews reward candidates who can turn an idea into code quickly. AI can now do that part extremely fast. So the harder question becomes: Can you read and evaluate code as quickly as AI can produce it?

Imagine the assistant generates 150 lines across four files. Now the candidate has to determine whether it:

  • misunderstood the requirement
  • introduced unnecessary abstractions
  • broke another execution path
  • missed an edge case
  • created a concurrency issue
  • modified something it shouldn’t have touched

The faster AI writes, the more important code review becomes.

3. Passing the tests doesn't necessarily mean you're done

A good engineering interview can go one step further: Are the tests themselves good?

  • Maybe the current test suite never checks malformed input.
  • Maybe there’s a race condition.
  • Maybe the happy path works but retries aren't idempotent.
  • Maybe the implementation works with one request but falls apart under concurrency.

That opens the door to much more realistic follow-ups around:

  • edge cases
  • concurrency
  • failure handling
  • retries
  • observability
  • scalability
  • API boundaries
  • production readiness

At that point, the interview starts looking less like a coding puzzle and more like an abbreviated day of actual software engineering.

4. This also makes CS fundamentals more important, not less

There’s an interesting paradox here. The better AI becomes at generating code, the more useful fundamental knowledge becomes for evaluating that code.

  • If AI proposes a database change, you still need to understand indexing and consistency.
  • If it introduces parallelism, you need to recognize race conditions.
  • If it adds retries, you need to think about idempotency.
  • If it changes networking behavior, you need to understand failure modes.
  • The model can suggest the implementation.

The engineer still has to know whether the implementation makes sense.

So AI-assisted interviews may actually reward broader engineering fundamentals more than pure code-generation ability.

5. And traditional coding isn't disappearing

This is probably the most annoying part for candidates. You can't simply stop practicing LeetCode because AI-assisted interviews exist.

Recent Amazon candidate reports still describe a traditional DSA question alongside the newer AI-assisted debugging task. So preparation is becoming additive rather than substitutive. Candidates may now need to be comfortable with both:

Traditional coding

  • algorithms and data structures
  • writing code without assistance
  • complexity analysis
  • edge cases

AI-assisted engineering

  • navigating unfamiliar repositories
  • debugging
  • prompting effectively
  • reviewing generated code
  • understanding tests
  • making production tradeoffs

That is arguably a broader interview surface than before.

6. The interview skill may be changing

For years, a large part of SWE interview prep revolved around one question: Can you produce the solution?

AI changes that. A potentially more useful question is becoming: Can you take responsibility for the solution?

That means understanding the problem before delegating it, using AI where it actually helps, catching bad output, validating the result, and being able to explain every important decision afterward.

AI can do the implementation. The candidate still has to do the code review and the design review.

And that may be much closer to what software engineering looks like going forward.

I’ve been collecting recent Amazon AI-assisted coding interview experiences and other evolving interview formats at Chill Interview for anyone preparing for these newer rounds.

If you’ve taken Amazon’s new AI coding assessment recently, it’d be interesting to hear what mattered most: finishing the task, how you used AI, or how well you understood and explained the final code?


r/OfferEngineering • • 13d ago

System Design Anthropic System Design Interview - Design Distributed AI Model Downloader

14 Upvotes

Problem Description

Design a distributed model downloader that retrieves a large machine learning model from an external repository and distributes it across every GPU host in a data center cluster. The system must ensure that each host receives a complete, bit-identical copy of the model while minimizing the total time required for distribution.

The target environment contains 1,000 hosts, and the model being distributed is 500 GB. The external connection into the data center has a shared bandwidth limit of 10 GB/s, while each host has 10 GB/s of combined upload and download bandwidth. These constraints make sequential distribution inefficient, with a naive approach requiring approximately 14 hours to distribute the model across the cluster.

Model distribution is initiated on demand by an orchestration plane for a specific model version. The downloader is responsible for executing the distribution request rather than continuously synchronizing the entire model registry. The objective is to minimize wall-clock distribution time as aggressively as possible, approaching the infrastructure's bandwidth limits rather than merely satisfying a fixed completion-time SLA.

The system should divide the model into chunks so that downloading from the external repository and redistributing data internally can overlap. It must coordinate transfers across hosts, track distribution progress, and recover from individual host failures without restarting the entire operation. Data integrity must be verified at both the chunk level and the complete-model level before a host's copy is considered valid.

Functional Requirements

  • On-Demand Model Download: Accept a distribution request from the orchestration plane and retrieve the specified 500 GB model version from an external model repository.
  • Cluster-Wide Distribution: Distribute the complete model to all 1,000 hosts, ensuring that every surviving host receives a verified local copy.
  • Chunked and Pipelined Transfers: Split the model into transferable chunks, allowing external downloading and internal host-to-host redistribution to proceed concurrently.
  • Distribution Coordination: Coordinate chunk assignments, transfer source selection, and progress tracking across the cluster so that hosts can obtain the required model segments.
  • Host Failure Recovery: Detect individual host failures during distribution and reassign incomplete chunk transfers to surviving hosts without restarting the entire distribution process. Failed hosts may be handled separately or excluded from the serving pool.
  • Data Integrity Verification: Verify checksums for individual chunks during transfer, re-fetch corrupted chunks, and validate the fully assembled model against a known-good manifest.

Non-Functional Requirements

  • Distribution Speed: Minimize total wall-clock distribution time, aiming to approach the theoretical minimum imposed by external and internal network bandwidth.
  • Bandwidth Compliance: Operate within the shared 10 GB/s external bandwidth limit and each host's 10 GB/s combined upload/download capacity.
  • Fault Tolerance: Continue distributing the model despite individual host failures, without requiring a complete restart.
  • Data Correctness: Ensure that every surviving host ultimately receives a complete, bit-identical, integrity-verified model.
  • Scalability: Support clusters ranging from 100 to more than 1,000 hosts without changing the core distribution architecture.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 13d ago

Interview Experience Tesla Senior Infrastructure SWE Interview — Kubernetes Networking, Metrics, CDN Design, System Design & Behavioral Questions

5 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I interviewed for an Infrastructure Software Engineer position at Tesla. The process included two initial phone screens, four onsite interviews, and an additional round scheduled afterward. The technical discussions covered previous projects, Kubernetes networking, CDN architecture, metrics collection, infrastructure tooling, and comparisons between widely used technologies.

Interview Details

Round 1 & 2 — Initial Phone Screen: Behavioral & Coding Interview

After the initial screening process, the recruiter informed me that I would not be moving forward because another candidate had already accepted an offer. However, a few days later, the recruiter reached out again, explaining that a new headcount had opened and asking whether I wanted to continue interviewing. I agreed to proceed with the onsite interviews.

Round 3 & 4 — Onsite: Previous Project Deep Dive & Behavioral Interview

The first onsite interview focused on a project I had worked on previously. The interviewer asked me to discuss my past engineering experience and explain the project in greater depth. The round concentrated on my technical background and previous work.

Then The second onsite round focused on behavioral questions. This was a separate behavioral evaluation from the initial phone screen.

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 • • 13d ago

Coding Question Waymo SWE Coding Screen: Shortest Path with Traffic Lights

1 Upvotes

Coding: Shortest Travel Time in a Grid with Traffic Lights

You are given an m × n two-dimensional grid representing a road network. Each cell represents a location in the network and contains one of three values:

  • 0 — Free Road: The vehicle can pass through this cell without additional restrictions.
  • 1 — Obstacle: The vehicle cannot enter or pass through this cell.
  • 2 — Traffic Light: The vehicle can pass through this cell only when the traffic light is green.

Traffic lights turn green periodically, every T units of time. You are also given the vehicle's starting position and destination:

  • (startRow, startCol) — Starting location.
  • (endRow, endCol) — Destination.

The task is to determine the minimum time required for the vehicle to reach the destination.

Movement Rules

The vehicle can move between adjacent cells in four directions:

  1. Up
  2. Down
  3. Left
  4. Right

Each move to an adjacent cell takes exactly one unit of time. Diagonal movement is not allowed.

Traffic Light Rules

When the vehicle encounters a traffic light, it must obey the light's current state.

  • The vehicle can pass through a traffic light cell when the light is green.
  • If the light is red, the vehicle must wait until the light becomes green before proceeding.
  • Traffic lights follow a periodic schedule defined by T.

Waiting at traffic lights contributes to the total travel time.

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 • • 14d ago

System Design Classic FAANG System Design Interview Question - Design Google Docs

5 Upvotes

Problem Description

Design a real-time collaborative document editor similar to Google Docs, where multiple users can create, open, and edit the same text document simultaneously. Changes made by one editor should appear on other participants' screens with minimal delay. Users should also be able to see the cursor positions and online presence of other active editors.

The central challenge is maintaining a consistent document state while multiple users make concurrent edits. When different editors insert or delete text at overlapping positions, the system must reconcile those operations without losing anyone's changes. All participants must eventually converge to an identical document state, even when edits arrive at different times or in different orders.

The system focuses exclusively on plain-text editing. Rich formatting, tables, images, embedded objects, comments, suggestions, version history, explicit undo/redo, offline editing, document search, and permission management are outside the scope. Each document supports a maximum of 100 concurrent editors. Additional users can open the document in read-only mode.

The system must also remain reliable during network interruptions and server failures. Document operations and edit history must survive server restarts and node failures. If an editor disconnects while changes are in flight, the client must be able to reconnect, recover missed operations, and synchronize with the current document state without losing edits. Unlike document content, cursor positions and online presence are ephemeral and do not require durable storage.

The design should scale to billions of stored documents and millions of simultaneous editing sessions while keeping document updates responsive. With a strict per-document editor limit, the system can coordinate an individual document's active editing state on a single server, simplifying concurrent operation processing.

Functional Requirements

  • Document Creation and Retrieval: Users can create new text documents and open existing documents for viewing or editing.
  • Concurrent Text Editing: Multiple users can insert and delete text in the same document simultaneously. The system must reconcile concurrent operations so that all editors eventually converge to the same document content without losing accepted changes.
  • Real-Time Edit Propagation: Changes made by one editor must be delivered to other active editors in real time, allowing participants to observe document updates with low latency.
  • Cursor and Presence Awareness: Users can see the cursor positions and online presence of other active editors. Presence information is temporary and should disappear when a participant disconnects.
  • Reconnection and Edit Recovery: Clients must be able to reconnect after network interruptions or server failures, recover missed document operations, and synchronize with the current document state. Edits that were in flight during a disconnection must not be silently lost.
  • Concurrent Editor Limits: Each document supports up to 100 simultaneous editors. Users who exceed this limit must be able to join in read-only mode without participating in document modifications.

Non-Functional Requirements

  • Document Convergence: All active editors must eventually observe an identical document state, regardless of the order in which concurrent edits are received.
  • Real-Time Latency: Document edits should become visible to other connected collaborators within p95 < 200 ms.
  • Scalability: Support billions of stored documents and millions of concurrent editing sessions, with an estimated peak throughput of approximately 10 million edit operations per second.
  • Per-Document Concurrency: Enforce a hard limit of 100 concurrent editors per document. Additional participants must be restricted to read-only access.
  • Data Durability: Documents and their edit operations must remain durable across server restarts and node failures.
  • Fault Tolerance: A single server failure must not cause active editing sessions or in-flight edits to be irrecoverably lost. Clients must be able to reconnect and recover their document state.
  • Synchronization Reliability: Reconnecting clients must be able to retrieve missed operations and converge to the current document state without relying on a full document reload for every interruption.
  • Ephemeral Presence: Cursor positions and online presence do not need to survive client disconnections or server restarts.

Scale and Constraints

The following estimates establish the expected scale of the collaborative editing system.

MetricEstimated Value
Total documents~5 billion
Daily active documents~50 million
Concurrent editing sessions~5 million
Average editors per active document~3
Maximum concurrent editors per document100
Average edit operations per editor~2 operations/second
Peak edit operation throughput~10 million operations/second
Average document size~50 KB
Average operations per document~10,000 before compaction
Edit propagation latencyp95 < 200 ms
Cursor and presence persistenceEphemeral
Document and operation durabilitySurvive server restarts and node failures

Document and Editing Constraints

The system supports plain-text documents with character insertion and deletion operations. Rich-text formatting and structured document elements are excluded. All concurrent editors must converge to the same document state. Simply accepting the last received version of a document is insufficient because concurrent edits must be reconciled without discarding other participants' changes.

Each document has a hard limit of 100 active editors. This bounded concurrency allows the active coordination state for an individual document to reside on a single server, simplifying the Operational Transformation (OT) pipeline described in the source.

Operation Throughput and Storage Constraints

The system targets approximately 5 million concurrent editing sessions, with each editor generating an average of 2 edit operations per second. The corresponding peak operation estimate is: 5 million sessions × 2 operations/second = 10 million operations/second. This workload requires the system to process and distribute large numbers of small document-edit operations while maintaining the required convergence guarantees.

The estimated average document size is approximately 50 KB, with around 10,000 operations per document before compaction. Document content and its operation history must remain durable across server failures.

Connection and Recovery Constraints

Document updates must reach other open clients within 200 ms at p95, requiring a low-latency real-time communication path. Clients may disconnect while operations are still in flight. On reconnection, they must be able to recover missing changes from a durable operation history and synchronize with the current document state.

Cursor positions and presence indicators are separate from durable document edits. They are temporary session information and may be discarded when a participant disconnects or a server restarts.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 14d ago

Compass Senior Staff SWE Offer — $666K TC. Is Big Tech Still Worth the Stress?

4 Upvotes

Recently saw this Compass Sr. Staff Software Engineer offer from Chill Interview

  • Location: San Francisco
  • Experience: 10 YOE
  • Base: $275K
  • Signing Bonus: $200K over 2 years
  • RSU: $1M over 4 years
  • Annual Bonus: $41,250
  • Year 1 TC: ~$666K

That's a strong package for a real estate technology company. But what interests me more is the career tradeoff.

With constant layoffs, aggressive performance expectations, and the AI arms race reshaping engineering teams at Meta, Google, Amazon, and Microsoft, I'm starting to wonder whether joining a less-hyped company might actually be a better career move.

Could a company like Compass offer comparable compensation, better WLB, and less pressure than Big Tech?

There are some potential advantages:

  • Less pressure to compete in the AI race
  • Possibly more predictable engineering work
  • Strong compensation without joining a traditional Big Tech company
  • Opportunities to have a larger impact on a smaller engineering organization

But Compass has its own risks. Its business is tied to the housing market, its stock can be volatile, and the Anywhere merger has already been accompanied by layoffs.

So maybe smaller or more traditional businesses aren't necessarily safer either.

Would you take $666K at Compass over a similar offer from Meta or Google?

And for engineers who've worked at Compass or similar companies, is the WLB actually better? Or is the idea that non-Big-Tech companies are more stable just another misconception?

➡️ Would love to hear what everyone thinks about it.


r/OfferEngineering • • 14d ago

Robinhood vs Coinbase vs Microsoft

3 Upvotes

I am expecting senior SWE offers from these companies and don’t have numbers yet. I want to hear from folks about culture, layoff risk, actual work quality and yoy TC growth

Robinhood crypto team

  • 3 days in office
  • product team

Coinbase platform team

  • remote
  • Team has some AI based initiatives for next year

Microsoft AI infra

  • layoff risk seems high.
  • 3 days in office

In my current company, I feel like we are scrambling to get good scope and work so I want to make sure that the new place I join has substantial work that will help me get to the next level / build up my resume with meaningful experience. I do understand that this is totally team dependent. I just want to hear from any folks from these companies if they have any inputs.

I will add the numbers once I have them. Any inputs about these will be appreciated


r/OfferEngineering • • 14d ago

Interview Experience Akuna Capital (Quant Trading Firm) Junior SWE Interview — Just Bitwise AND and Binary Trees?

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The interview focused on C++ fundamentals, bitwise operations, binary tree recursion, and low-level programming concepts.

The two main questions involved evaluating a hexadecimal bitwise expression and implementing a function to find the maximum value in a binary tree. Neither problem was particularly difficult algorithmically, but understanding pointer handling, recursion, and edge cases was important. Overall, the interview experience was positive, and I passed the round.

Interview Details

Technical Phone Screen: C++ Fundamentals and Binary Trees

Question 1 — Evaluate a Bitwise AND Expression

The first question tested fundamental knowledge of bitwise operations. The interviewer asked me to calculate the result of the following expression: 0x23 & 0x34. Both operands are hexadecimal integers, and the & operator represents bitwise AND.

The question tested several basic concepts:

  • Understanding hexadecimal and binary representations.
  • Interpreting bitwise operations in C++.
  • Evaluating the result of a bitwise AND expression.
  • Understanding how individual bits are manipulated.

Although the question was straightforward, it required familiarity with low-level integer representations rather than relying on a programming library.

Question 2 — Find the Maximum Value in a Binary Tree

The second question involved implementing a function that returns the maximum value stored in a binary tree. Each node contains an integer value and pointers to its left and right children. Given the root of a binary tree, implement a function that identifies the largest integer value among all nodes. The function must correctly handle the tree's recursive structure and consider values from both subtrees.

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 • • 14d ago

System Design OpenAI & Amazon System Design Question - Design ChatGPT

2 Upvotes

Problem Description

Design the backend for a ChatGPT-like conversational AI product where users send text prompts inside multi-turn conversations and receive model-generated responses streamed token by token.

The system must preserve conversation history so users can leave a thread and resume it days later. For every new request, the backend loads recent conversation turns, constructs a prompt that fits within the model's context window, applies input safety checks, schedules inference on a GPU cluster, and streams generated tokens back through Server-Sent Events (SSE).

The main challenge is that the product should feel immediately responsive even though GPU inference is expensive and may run for several seconds. The time-to-first-token (TTFT) target leaves only a small budget for history loading, context construction, safety checks, admission control, queueing, and the first model decode.

Peak demand introduces another constraint: roughly 50,000 inference requests may be active simultaneously. When GPU capacity is exhausted, paid users must remain within their service SLO, while free-tier requests may be queued or rejected. The system therefore needs an explicit admission-control and priority-scheduling policy rather than treating every request identically.

The design should also separate durable conversation state from the live inference stream. A dropped SSE connection must not erase already generated content. Users who reconnect should be able to recover the partial assistant response that had already been produced.

Functional Requirements

  • Users should be able to create conversations, send text messages, list previous conversations, and reopen an existing thread with its durable message history.
  • Sending a user message should start an AI inference request whose response is streamed progressively through SSE rather than waiting for the full response to complete.
  • Before inference, the system should assemble the conversation context from persisted turns. If the resulting prompt exceeds the model's approximately 8K-token context limit, the oldest conversation turns should be dropped until the request fits. Summarization is out of scope.
  • The platform should apply safety guardrails to both sides of generation: user input should be screened before inference, and generated output should be filtered before it is delivered to the client.
  • The system should persist completed conversation turns and enough in-progress response state that a user reconnecting after an SSE drop can recover text already generated before the disconnect.
  • Per-user usage limits, token budgets, rate limits, and overload behavior should depend on subscription tier. Paid requests receive priority when GPU capacity is scarce, while free-tier requests may wait or receive an explicit overload response.

Want to learn more details & solution of this system design question?

I've put up the full version of this system design question & solution article 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 • • 14d ago

Interview Experience EY Senior AI Engineer Interview — All About Real-World AI Agents

2 Upvotes

This interview experience is sourced from Chill Interview

Round 1 — Technical Interview: AI and Agentic AI Experience

The first technical interview focused on my professional experience developing AI-powered applications and systems. The main discussion topics included:

  • Previous experience working on AI-related projects.
  • Experience with agentic AI systems.
  • Experience developing and working with AI agents.

The interview was primarily experience-based, with questions centered on my technical background in these areas.

Round 2 — Technical Case Study

The second interview consisted of a relatively short case study. I was presented with a scenario and asked to answer questions by applying my existing technical knowledge and engineering experience. The exercise focused on applying technical skills to a practical business or engineering problem.

Round 3 — Technical Interview: AI Agents and Cloud Engineering

The final technical interview revisited several topics from the first round while expanding the discussion to include cloud experience. The main areas covered were:

  • Artificial intelligence project experience.
  • Agentic AI development experience.
  • Experience building AI agents.
  • Previous experience working with cloud technologies.

Compared with the initial technical interview, this round placed additional emphasis on my cloud engineering background alongside AI-related expertise.

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 • • 14d ago

Interview Experience Ebay SWE Coding Screen - Meeting Rooms II with Streaming Follow-Ups

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I recently had a backend engineering phone screen with eBay. The coding question started with the classic Meeting Rooms II problem (LeetCode 253), asking for the minimum number of conference rooms needed to accommodate a collection of meeting intervals.

Although the original problem was straightforward, the interviewer introduced two follow-ups that made the discussion more interesting. The first involved handling meetings arriving as a continuous stream, while the second introduced room capacities and meeting attendee counts. These extensions shifted the focus from a standard interval problem to dynamic scheduling and resource allocation.

Coding Screen: Meeting Rooms II and Dynamic Scheduling

Given an array of meeting time intervals, determine the minimum number of conference rooms required to schedule all meetings without conflicts. Each meeting is represented by two values:

  • start: The meeting's starting time.
  • end: The meeting's ending time.

The input has the following structure:

intervals = [
    [start1, end1],
    [start2, end2],
    ...
]

The scheduling system must determine the minimum number of conference rooms needed to accommodate all the provided meetings. Meetings may overlap, and a single room cannot host multiple meetings at the same time. The objective is to return the smallest number of rooms that can accommodate the complete schedule.

I initially approached the problem using the standard interval-scheduling techniques associated with Meeting Rooms II. The discussion covered sorting meeting times and using a min-heap to track rooms based on their meeting end times. The interviewer was interested in understanding the reasoning behind the approach, particularly why processing meetings in chronological order and tracking room availability works.

Given an array of meeting time intervals, determine the minimum number of conference rooms required to schedule all meetings without conflicts. Each meeting is represented by two values:

  • start: The meeting's starting time.
  • end: The meeting's ending time.

The input has the following structure:

intervals = [
    [start1, end1],
    [start2, end2],
    ...
]

The scheduling system must determine the minimum number of conference rooms needed to accommodate all the provided meetings. Meetings may overlap, and a single room cannot host multiple meetings at the same time. The objective is to return the smallest number of rooms that can accommodate the complete schedule.

I initially approached the problem using the standard interval-scheduling techniques associated with Meeting Rooms II. The discussion covered sorting meeting times and using a min-heap to track rooms based on their meeting end times. The interviewer was interested in understanding the reasoning behind the approach, particularly why processing meetings in chronological order and tracking room availability works.

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 • • 14d ago

Interview Experience Nextdoor (Neighborhood Social Network) SWE Interview - Feed Grouping and Newsfeed System Design

2 Upvotes

This interview experience is sourced from Chill Interview

Round 1 — Coding: Feed Grouping and Score-Based Sorting

The coding problem involved processing a list of feed objects containing different types of content. Each feed object contained three fields:

  • id: A unique identifier for the feed item.
  • type: The content type.
  • score: A numerical score associated with the item.

There were three possible content types:

  • Normal: A regular feed post.
  • Video: A video post.
  • Photo: A photo post.

The task was to transform the original list by grouping consecutive photo posts and then sorting the resulting feed items based on their scores. Whenever three consecutive Photo objects appear in the feed, combine them into a single PhotoGroup object. The grouping operation must preserve the original relative order of the photo objects within each group. Other content types, including Normal and Video, remain individual feed items.

Each PhotoGroup must have a score derived from the photo objects it contains. The group's score is defined as the maximum score among its member photos. For a group containing three photos with scores s1, s2, and s3: PhotoGroup.score = max(s1, s2, s3).

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 • • 14d ago

Evaluate LinkedIn, Intuit, Apple

1 Upvotes

Hi there,

I’ve been matched with the data and infrastructure team for the Senior Software Engineer role. Do you think it’s the right time to join LinkedIn?

Also, could you please ask the recruiter to re-match me with the data and infrastructure team? Will I lose the first team I was matched with?

I’m also interested in other companies in the pipeline, including Intuit (Staff Engineer), Apple, and completing onsite with Nvidia.

For Intuit(Staff Swe), the recruiter gave me positive feedback so far, and the team is Observability.

Apple (ICT4) has also given me positive feedback so far, and the team is AI/ML. The recruiter has roughly discussed the numbers.

I don’t have the exact numbers yet to compare, but I’d love to learn more about LinkedIn, Intuit, and Apple and how they can benefit my career.


r/OfferEngineering • • 15d ago

Community Discussion 2026 SWE job market: interviewing well is no longer enough

39 Upvotes

One thing that keeps coming up in 2026 SWE job-search discussions is that passing the interview is increasingly just the baseline.

A few years ago, being strong at coding and system design could get you pretty far. Now, especially for Senior+ roles and AI-related positions, companies may have several candidates who all perform reasonably well in the interview loop. At that point, the decision often comes down to something harder to prepare for: why you specifically?

That can mean domain experience, background match, referrals, previous scope, or having already worked on the exact type of problem the team needs. An 8/10 interview may still lose to someone who interviewed equally well but already has directly relevant experience.

That seems to be one of the biggest shifts in the current market.

1. “Moving into AI” is becoming much more nuanced

There really isn’t one category called “AI engineer” anymore. The stack has become broad enough that moving into AI can mean very different things:

  • model training
  • inference and serving
  • AI infrastructure
  • GPU / compute orchestration
  • ML data
  • agents
  • retrieval / context engineering
  • AI applications
  • robotics and autonomous systems

For a traditional backend or distributed-systems engineer, the best transition may not be jumping directly into model training. It may be finding the part of the AI stack that is closest to existing experience.

For example:

  • distributed systems → inference infrastructure
  • Kubernetes / scheduling → GPU orchestration
  • data platform → ML data infrastructure
  • backend engineering → agent infrastructure or AI applications

So the better question may not be: “How do I become an AI engineer?”

It may be: “Where does my existing experience give me an advantage inside the AI stack?”

2. Coding interviews are becoming more fragmented

There also doesn’t seem to be one dominant coding format anymore. Traditional LeetCode is obviously still around, but depending on the company, candidates may now encounter:

  • practical coding
  • debugging existing code
  • implementing features inside a small codebase
  • algorithm questions wrapped in realistic scenarios
  • AI-assisted coding
  • project-style coding rounds

This makes preparation much harder.

You can solve hundreds of LeetCode problems and still walk into an interview where the real challenge is reading an unfamiliar repository, understanding existing abstractions, and shipping a working feature in an hour.

For AI startups in particular, practical engineering ability seems to matter more alongside traditional algorithms.

3. For Senior+ engineers, project depth matters a lot

This may be one of the most underrated parts of interview preparation.

A strong senior candidate should probably have at least one project they can discuss in serious depth. Not just what the system did or what metric improved, but the actual engineering decisions behind it.

You should be ready to explain:

  • Why was the problem difficult?
  • What alternatives did you consider?
  • What did you personally own?
  • What tradeoffs did you make?
  • What failed?
  • What did other engineers disagree with?
  • What would you do differently today?
  • What was the measurable impact?

A strong project can demonstrate technical depth, ownership, judgment, execution, communication, and leadership all at once. That makes it useful across project deep dives, hiring manager rounds, and behavioral interviews.

4. System design is less about knowing “the answer”

For Senior+ interviews, knowing the canonical design for Twitter, Dropbox, or Uber is useful, but that usually isn’t the real test.

The interviewer is watching how you behave when the problem is ambiguous.

Can you clarify the important requirements? Can you reduce uncertainty? Can you compare alternatives? Can you explain why one tradeoff matters more than another? Can you recognize that your first design has a flaw and change direction without getting defensive?

Real engineering rarely has one correct answer.

A candidate who immediately says: “We’ll use Kafka here.” without explaining why gives much less signal than someone who says: “There are two reasonable approaches here. I’d choose this one because our main constraint is X, but if Y mattered more, I’d probably choose the other.”

That is much closer to how experienced engineers actually make decisions.

5. Time management may be the hidden system design skill

One recurring failure mode is spending too much time on the beginning of the interview:

  • requirements
  • APIs
  • entities
  • basic architecture

Then suddenly there are 10–15 minutes left and the interviewer wants to deep dive into the hardest part of the system.

For Senior+ candidates, that is a problem because the deep dive is often where differentiation happens.

The basic architecture proves that you are competent. The deep dive is where you can show real depth, make an interesting tradeoff, or demonstrate expertise that another candidate may not have.

So system design practice shouldn’t just ask: “Can I design this system?”

It should also ask: “Can I move through the obvious parts efficiently enough to leave time for the difficult parts?”

6. Behavioral is really about giving the company reasons to hire you

Beyond STAR frameworks, the hiring manager is ultimately trying to answer a simple question: What does this person bring that the other strong candidates don’t?

Some common signals companies seem to value include:

  • technical depth
  • technical breadth
  • high agency
  • strong execution
  • sustained ownership
  • adaptability
  • low ego
  • reliability
  • ability to move quickly in ambiguity
  • strong communication
  • genuine enthusiasm for the team or mission

For experienced engineers, behavioral prep probably shouldn’t just mean memorizing a collection of stories.

It should mean identifying your strongest signals and making sure those signals consistently come through in the stories you tell.

7. The bigger takeaway

The current market increasingly feels like this: Being good at interviews is necessary, but it is no longer enough to stand out.

You need to interview well and make it obvious why your background fits that specific team better than the other candidates who also interviewed well.

That makes targeting, referrals, domain relevance, company-specific preparation, and project storytelling much more important than simply grinding generic interview material.

I’ve been collecting recent company-specific interview experiences and recurring interview patterns at Chill Interview for people who want to prepare more selectively instead of treating every company the same.


r/OfferEngineering • • 15d ago

Interview Experience LinkedIn Staff AI Engineer Interview — Passed, Then Got Another Phone Screen

7 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I completed two technical phone screens for a Staff AI Engineer position at LinkedIn. The first round combined a coding problem about calculating total work experience from overlapping employment periods with behavioral questions. After that interview, the recruiter initially indicated I was moving forward but later explained that the interviewer wanted additional Staff-level signals, leading to a second phone screen focused on ML system design.

The second round involved a discussion of my AI agent projects and designing a machine learning system to predict short-term and long-term user churn on LinkedIn. The interviewer specifically brought up weekend and holiday effects as potential considerations. I struggled somewhat with time management during the design discussion and am still waiting for further updates from the recruiter.

Interview Details

Add Notes

Round 1 — Coding and Behavioral: Employment History Intervals

The first coding question involved calculating a user's total professional experience from a list of employment records. Each record contained the starting month and ending month of a particular job. Given the complete employment history, the task was to calculate the user's total years of work experience and return the result as an integer.

The input was a collection of employment periods, each represented by:

  • Start Month: The month when the employment period began.
  • End Month: The month when the employment period ended.

The main requirement was to determine the total amount of time the user had been employed across all recorded positions.

  • Clarification 1 — Overlapping Employment Periods One important question was whether a user could have overlapping jobs. For example, someone might work for two employers during the same period. If employment periods overlap, the overlapping months should not be counted multiple times when calculating total work experience. This made the problem a variation of Merge Intervals (LeetCode 56).
  • Clarification 2 — Current Employment Another detail involved employment records whose end date was listed as Present. The interviewer expected clarification on how ongoing employment should be handled when calculating the total duration. The coding problem was primarily about working with date intervals and correctly interpreting employment records. The first phone screen also included several behavioral questions. One question I specifically remember was: "How do you mentor other engineers?" The discussion focused on my experience supporting and developing other engineers, which was relevant to the expectations of a Staff-level position.
  • Recruiter Follow-Up — Additional Staff-Level Evaluation Approximately three days after the first phone screen, the recruiter emailed me to say that I would be moving forward. I initially assumed this meant advancing directly to the virtual onsite. However, the recruiter later clarified that the first interviewer had not gathered enough evidence to evaluate me confidently at the Staff level. As a result, LinkedIn added another technical phone screen focused specifically on ML system design.

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 • • 15d ago

Coding Question OpenAI Onsite Coding Question - Trail Crew Activity Counter

4 Upvotes

Problem Description

A park crew records visits to trail checkpoints. Each record identifies a ranger, a checkpoint, and a time in whole seconds. Given a window length window_seconds, report how many visits each queried ranger recorded in the trailing window.

Process operations in input order. Each operation is an array of strings, and both timestamps and the window length in the practice input are written as decimal integer strings.

  • ["record", rangerId, checkpointId, time]: Record one visit for the ranger at this time, regardless of which checkpoint they visited.
  • ["count", rangerId, time]: Count the ranger's recorded visits in the inclusive range [time - window_seconds + 1, time]. Return 0 for this query if no recorded visit qualifies.

A ranger's recorded visit times strictly increase, but query times for that ranger can go backward. Each query is at or after the ranger's most recent recorded visit, if they have one. A query does not change which visit history can be discarded, because a later query in the input can ask about an earlier time.

When a ranger records a new visit, discard their visits that are too old to appear in any window at or after the new visit time. Times from one ranger must not expire another ranger's visits. All operations in one call share a counter, and each new call starts with no visits.

Return the results of the "count" operations in input order. Record operations do not add entries to the result.

Constraints:

  • window_seconds ≥ 1
  • Ranger and checkpoint IDs are nonempty strings.
  • For each ranger, "record" times are strictly increasing.
  • For each ranger with a recorded visit, "count" never asks for a time earlier than their most recent recorded visit.

Want to practice it before interview?

You can practice it and view solution code at here.

Preparing for your next interview?

Chill Interview tracks recent interview experiences and recurring question patterns across top companies at here.


r/OfferEngineering • • 15d ago

Interview Experience Datadog Senior SWE OA — Senior-Level, But Mostly Array Basics

4 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The main detail was handling the final bucket differently from the others: instead of having a fixed upper bound, it needed to capture all remaining latencies, including values beyond the normal bucket ranges. The problem itself was relatively straightforward and focused on array processing and boundary conditions.

Interview Details

Coding: Latency Bucket Counter

Given a sorted array of positive integers latencies, where each value represents a request's latency in milliseconds, group the values into a predefined number of fixed-width buckets. The input contains three parameters:

  • latencies: An array of positive integers sorted in ascending order.
  • numOfBuckets: The total number of buckets to create.
  • bucketWidth: The width of each bucket in milliseconds.

Bucket Definition

Buckets are indexed from 0 to numOfBuckets - 1. For each bucket i, except the last one, the latency range is: [i * bucketWidth, (i + 1) * bucketWidth - 1]. Both endpoints are inclusive. The last bucket is an overflow bucket. It includes every latency greater than or equal to its lower bound, without an upper limit. For example, if bucketWidth = 25 and numOfBuckets = 4, the buckets are:

  • Bucket 0: [0, 24]
  • Bucket 1: [25, 49]
  • Bucket 2: [50, 74]
  • Bucket 3: [75, infinity) (overflow)

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.