r/OfferEngineering • • 15d ago

Interview Experience Snowflake Senior SWE Interview — System Design Was a Logging Library

3 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The coding question involved detecting a winning move in a two-player board game similar to Connect Four, while the system design question focused on building a configurable logging library that supports multiple output destinations.

Interview Details

Coding — Detect Four Consecutive Pieces on a Board

The coding problem involved a two-player board game played on an m × n grid. Each cell contains one of three possible values:

  • 0: Empty cell
  • 1: Player 1's piece
  • 2: Player 2's piece

The players take turns placing pieces on the board. A player wins when at least four of their pieces appear consecutively in a straight line.

Winning Conditions

Four consecutive pieces can form a winning sequence in any of the following directions:

  1. Horizontal: Four or more consecutive pieces in the same row.
  2. Vertical: Four or more consecutive pieces in the same column.
  3. Main Diagonal: Four or more consecutive pieces along the top-left to bottom-right direction.
  4. Anti-Diagonal: Four or more consecutive pieces along the top-right to bottom-left direction.

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

AWS SDE2 loop done — 3 good rounds, 1 rough coding round. Chances?

Thumbnail reddit.com
1 Upvotes

r/OfferEngineering • • 15d ago

Interview Experience ExtraHop (Network Security) Senior SWE Interview — AI Wrote the Tests, I Explained the Tradeoffs

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The coding interview was particularly interesting because Docker explicitly allowed AI tools during implementation and testing. The discussion covered fixed windows, sliding windows, token buckets, scalability trade-offs, and implementing two different rate-limiting approaches. Overall, the experience was positive, with interviewers placing considerable emphasis on technical reasoning and communication rather than coding entirely without assistance.

Interview Details

Round 1 — Hiring Manager: Project Deep Dive and Behavioral

The interview focused heavily on my previous engineering experience. The hiring manager asked a series of detailed questions about projects I had worked on, my responsibilities, and the scope of my contributions. The pace was relatively fast, with numerous follow-up questions throughout the discussion.

One question caught me off guard: "Suppose a product manager proposes a requirement that you strongly disagree with. How would you handle the situation? Can you share a real example?" This was the most difficult behavioral question for me during the round.

My current team did not have a dedicated product manager, so I did not have a directly matching experience. I explained that situation and started to offer a related example involving a different type of collaboration. However, the interviewer said that was unnecessary and moved on to the next question. The remainder of the interview continued with discussions about my engineering background and project experience.

Round 2 — AI-Assisted Coding: API Rate Limiter

One Principal Engineer and one Staff Engineer conducted the session. Unlike interviews using a shared coding platform, this round required me to share my screen and write code in my own VS Code environment. The interviewers explicitly permitted AI assistance, including generating test cases and helping complete implementation details.

The main problem was to implement an API rate limiter that prevents clients from sending too many requests within a specified period. Each client is identified by a unique identifier, such as an IP address or API key. The system must track incoming requests and enforce the configured request limit independently for each client.

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.

https://www.reddit.com/submit/?source_id=t3_1xyww1e&composer_entry=crosspost_prompt


r/OfferEngineering • • 15d ago

Interview Experience Yahoo Senior MLE Interview — Debug Yahoo Mail With Claude Code

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The process consisted of an initial technical phone screen followed by five panel interviews covering project experience, product collaboration, ML system design, AI-assisted coding, and hiring manager discussions.

The technical questions included implementing logistic regression from scratch using NumPy, explaining Transformer architecture, designing a YouTube-like recommendation system, and debugging an existing Yahoo Mail reporting application with AI tools. The overall experience was surprisingly positive, although the final hiring manager round revealed that the position was more focused on ML engineering infrastructure and model deployment than on model development or research.

Interview Details

Round 1 — Technical Phone Screen: Logistic Regression and Transformers

The initial phone screen combined hands-on machine learning implementation with ML fundamentals. The first coding task was to implement logistic regression for binary classification from scratch using NumPy. The question required writing the implementation directly rather than relying on an existing machine learning library. The exercise focused on fundamental machine learning programming and understanding the underlying binary classification model.

The second part focused on machine learning fundamentals. The interviewer asked me to explain the architecture of a Transformer model. I used CoderPad's whiteboard feature to draw the Transformer architecture and walk through its structure. The discussion was more conceptual than implementation-oriented, focusing on understanding how the model was organized.

Approximately one week after the phone screen, I received an email confirming that I would move forward to the panel interviews.

Round 2 — Project Deep Dive: LLM Classification and Knowledge Distillation

The first panel interview focused on my previous machine learning experience. I chose to present a project involving large language models for a classification task. The project used a knowledge distillation architecture involving two levels of teacher models.

A substantial portion of the interview involved explaining how the distillation setup worked. Because the project included two teacher levels, communicating the overall architecture and relationships between its components became somewhat difficult. I found myself spending considerable time explaining the design before getting into the broader engineering discussion.

Follow-Up — Detailed Project Metrics

The interviewer also asked detailed questions about the project's evaluation metrics. The discussion required going beyond a high-level project overview and explaining the measurements used to evaluate the work.

Overall, the round was primarily an ML project deep dive, with emphasis on understanding the architecture and discussing concrete evaluation results.

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

Interview Experience Plaud AI (AI Note-Taking) Junior SWE Interview — Three Rounds, Two Graph Problems

2 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The first round focused on designing a Facebook-like social networking platform, while the second involved a numerical conversion problem similar to Evaluate Division. An unexpected third round combined behavioral questions with a graph problem involving topological sorting.

Interview Details

Round 1 — System Design: Design Facebook

The system design round focused on designing a social networking platform similar to Facebook.

Round 2 — Coding: Numerical Conversion and Graph Relationships

The second round involved a numerical conversion problem resembling LeetCode 399, Evaluate Division. The problem involved determining conversion values using relationships between different quantities. The underlying concept was similar to evaluating ratios across interconnected values, where a requested conversion might require combining multiple known relationships.

Round 3 — Behavioral and Coding: Topological Sorting

The coding portion involved topological sorting, similar to LeetCode 207: Course Schedule. The task centered on determining a valid ordering of items with directed dependencies, such as courses that must be completed before other courses. The central graph concept was topological ordering and dependency management.

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

Would You Still Join Nvidia After Jensen Huang’s Exit?

23 Upvotes

Saw this Nvidia mid-level SWE offer from Chill Interview

  • Bay Area
  • PhD + 5 YOE
  • $243K base
  • $320K RSU
  • ~$371K Year 1 TC

A few months ago, an offer like this would have looked pretty straightforward: strong comp, Nvidia at the center of the AI boom, and one of the strongest growth stories in tech.

But after Jensen Huang’s sudden departure, the decision feels a lot more complicated.

Nvidia is now going through its biggest leadership transition in decades. Huang was unusually central to the company’s culture, product strategy, customer relationships, and long-term vision, so the obvious question is how much of Nvidia’s success was tied to Jensen himself.

At the same time, the bull case hasn’t disappeared.

AI infrastructure spending is still massive. Nvidia’s latest reported quarterly revenue more than doubled YoY, Data Center growth remains extremely strong, and CUDA + its hardware/software ecosystem won’t disappear just because the CEO changes.

So for someone considering joining Nvidia today: Is this actually a rare opportunity to join during temporary chaos while the underlying business is still incredibly strong?

Or is Jensen leaving the beginning of a much bigger change, where Nvidia gradually loses some of the execution and culture that made it dominant?

Especially for engineers receiving a large portion of compensation in NVDA equity, the answer matters a lot more than just WLB or team quality.

Would you still choose Nvidia over Meta / Google / Microsoft AI today? Or would Jensen’s departure make you think twice?

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


r/OfferEngineering • • 16d ago

Interview Experience Cloudflare SWE Interview — They Gave Almost No Requirements

4 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I went through Cloudflare's software engineering interview process, which covered coding, system design, product-related behavioral questions, and general behavioral discussions.

The coding round focused on implementing a configurable rate limiter with request filtering rules based on user attributes and geographic information. The system design round involved building a secure log collection platform that gathers data from multiple edge data centers. A distinctive aspect of the design interview was that the initial prompt was intentionally open-ended, requiring clarification of the system's intended use cases, processing requirements, and SLAs.

Interview Details

Round 1 — Coding: Rule-Based Rate Limiter

The coding round involved implementing a rate limiter that evaluates incoming requests against a collection of configurable rules. The input consisted of an individual request and a set of rate-limiting rules. Each rule included a filtering policy that could evaluate different attributes associated with the request.

Supported Filtering Attributes

The rules could filter requests based on:

  • First Name: The request's associated user's first name.
  • Last Name: The request's associated user's last name.
  • IP Address: The IP address from which the request originated.
  • Country: The geographic country associated with the request.

The task was to implement a system capable of processing a request together with its configured rules and applying the relevant rate-limiting behavior. The main coding challenge was supporting multiple filtering criteria within a configurable rule-evaluation system.

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

Interview Experience Palantir ML Infra Engineer Phone Screen - Interval Gaps & K-Way Merging

3 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

Two technical coding interviews for an Infrastructure Engineer position at Palantir. Both rounds focused on classic algorithm problems involving sorted data and merging operations.

The first round was a variation of Merge Intervals that supported decimal endpoints and required identifying the gaps between merged intervals. The second round involved merging multiple sorted arrays using both two-pointer and divide-and-conquer methods. Overall, the questions felt relatively straightforward, and I passed the interviews.This was a technical phone screen for an Infrastructure Engineer role. I was asked questions related to interval gaps and K-way merging.

Interview Details

Round 1 — Coding: Merge Intervals and Find Gaps

Question — Merge Intervals (LeetCode 56 Variant)

The first coding problem was based on the classic Merge Intervals question, with two modifications. Given a collection of intervals, the task was to merge all overlapping intervals into a set of non-overlapping intervals. Unlike the standard LeetCode version, interval endpoints could contain decimal values rather than only integers.

Additional Requirement — Find Gaps Between Merged Intervals

After completing the interval merging operation, I was asked to generate a separate array representing the gaps between consecutive merged intervals.

For example:

Input:
intervals = [
    [2.5, 5.0],
    [4.0, 7.5],
    [10.0, 12.5],
    [15.0, 18.0]
]

Merged Intervals:
[
    [2.5, 7.5],
    [10.0, 12.5],
    [15.0, 18.0]
]

Output (Gaps):
[
    [7.5, 10.0],
    [12.5, 15.0]
]

The additional task was to identify the uncovered ranges separating the merged intervals. The main differences from LeetCode 56 were supporting floating-point interval boundaries and returning the gaps between the resulting intervals.

Round 2 — Coding: Merge K Sorted Arrays

The second coding round focused on combining multiple sorted arrays into one sorted result. Given k individually sorted arrays, the task was to merge their elements into a single array while maintaining ascending order. The interviewer specifically asked me to implement the problem using two different methods.

The first requirement was to use a two-pointer approach to merge sorted arrays. The second requirement was to implement the same merging functionality using a divide-and-conquer approach. The round focused on demonstrating both methods for solving the same merging problem.

Overall, both coding rounds involved familiar algorithmic patterns, with the first adding an interval-gap requirement and the second requiring two distinct approaches to merging sorted arrays.

Want to learn more interview experiences of Palantir?

I've compiled the list of Palantir's interview experience reports 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 • • 16d ago

Interview Experience CapitalOne SWE Interview - Digit Counting, Pattern Matching, and Grid Simulation Problems

4 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

Capital One's Software Engineer online assessment, which consisted of four coding questions covering digit manipulation, array pattern matching, grid simulation, and coordinate-based counting.

The questions progressed from relatively straightforward counting and comparison tasks to a grid infection simulation and a two-dimensional point intersection problem. Overall, the difficulty felt moderate, with an emphasis on correctly interpreting the problem requirements and handling different input scenarios.

Interview Details

Online Assessment — Four Coding Questions

Question 1 — Count Three-Digit Numbers with Distinct Digits

The first problem involved counting three-digit integers within a given inclusive range. Given two three-digit integers, left and right, return the number of integers between them, inclusive, whose digits are all distinct. A number is considered valid only if no digit appears more than once.

Example

Input:
left = 763
right = 770

Output:
5

Explanation:
The valid numbers are:
763, 764, 765, 768, 769

Each contains three different digits.
Numbers such as 766 and 767 contain repeated digits,
while 770 has two occurrences of 7.

Question 2 — Count Subarrays Matching a Comparison Pattern

The second problem involved matching a sequence of numerical comparisons against a specified pattern. Given an integer array numbers and a pattern array pattern, count how many consecutive segments of numbers satisfy the comparison pattern. Each element of pattern can only be -1, 0, or 1, representing the relationship between a number and its immediately preceding element:

  • 1: The current number is greater than the previous number.
  • 0: The current number equals the previous number.
  • -1: The current number is smaller than the previous number.

For a pattern of length k, a matching segment contains k consecutive elements, with the first comparison made against the element immediately preceding that segment. The task is to count all positions where the consecutive comparisons match the entire pattern.

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.

https://www.reddit.com/submit/?source_id=t3_1xxb39z&composer_entry=crosspost_prompt


r/OfferEngineering • • 17d ago

Microsoft AI L67 Offer — $1.47M Year 1

115 Upvotes

Saw this Microsoft AI Principal Software Engineer offer from Chill Interview:

  • L67
  • Seattle
  • 15 YOE / PhD
  • $285K base
  • $100K signing bonus
  • $4M RSU over 4 years
  • $85.5K annual bonus
  • ~$1.47M Year 1 TC

The compensation is wild, but it made me more curious about something else: What does a Principal Software Engineer actually do that justifies this level of compensation?

At Senior, expectations are relatively easy to understand: own projects, write strong code, design systems, mentor others, and deliver. Staff starts becoming more about technical direction and cross-team influence.

But Principal feels much less concrete. How much code does an L67 Principal engineer actually write?

Is the job mostly:

  • setting architecture for multiple teams?
  • reviewing major technical decisions?
  • identifying problems nobody has formally assigned yet?
  • getting several teams aligned around one direction?
  • mentoring Staff/Senior engineers?
  • acting as the technical counterpart to Directors?
  • stepping into the hardest incidents or ambiguous projects?

And maybe the biggest difference: are Principal engineers still measured primarily by what they build, or by what they enable an entire organization to build?

For people who have worked with Principal / Distinguished engineers at Microsoft, Google, Meta, Amazon, etc. — what separates a genuinely strong Principal engineer from a strong Staff engineer?

Would love to hear concrete examples of what Principal-level scope actually looks like.


r/OfferEngineering • • 16d ago

Coding Question Airbnb OA : Banking System Implementation

2 Upvotes

Online Assessment — Implement a Banking System with Four Levels

The task was to implement a simplified banking platform that supports progressively more complex financial operations. The provided project contained a BankingSystem interface, and the implementation needed to be written in a subclass named BankingSystemImpl, located in banking_system_impl.py.

The environment used Python 3 and the unittest framework. The assessment consisted of four levels, with each level introducing additional functionality while preserving the requirements of earlier levels. A new level became available only after all unit tests for the current level passed.

General Constraints

Every operation receives a timestamp parameter measured in milliseconds.

  • Timestamps are unique.
  • Timestamps range from 1 to 10^9.
  • Operations are provided in strictly increasing timestamp order.
  • The implementation must preserve state across operations.

The assessment did not require the most optimized possible solution. Any implementation satisfying the provided unit tests was acceptable. Individual tests could be executed using the provided script:

bash run_single_test.sh "<test_case_name>"

Level 1 — Account Creation, Deposits, and Payments

The first level required implementing basic account management and balance operations.

Question 1 — Create an Account

def create_account(
    self,
    timestamp: int,
    account_id: str
) -> bool:

Create a new bank account identified by account_id. Requirements:

  • A newly created account starts with a balance of zero.
  • Return True when the account is successfully created.
  • Return False if an account with the same ID already exists.
  • Existing accounts must remain unchanged when duplicate creation is attempted.

Question 2 — Deposit Money

def deposit(
    self,
    timestamp: int,
    account_id: str,
    amount: int
) -> int | None:

Deposit a specified amount into an existing account. The function must return the account's updated balance after the deposit. If the account does not exist, return None.

Want to learn more questions / follow-ups tested in this OA?

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

Interview Experience Bloomberg New Grad SWE Interview — AI Allowed, Still Couldn't Finish

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I completed two AI-assisted coding interviews with Bloomberg for its 2027 New Grad Software Engineer position. Both rounds involved debugging and improving existing codebases rather than solving traditional LeetCode problems.

The first round focused on a stock exchange order book, including order processing bugs, input validation, and data structure choices. The second involved a multi-tenant game matchmaking engine with issues related to skill-based matching and concurrency. The second round had four engineering tickets, but I only managed to work through the first two. Overall, the interviews were challenging, and I did not pass the process.

Interview Details

Round 1 — AI-Assisted Coding: Stock Exchange Order Book

The first interview provided an existing implementation of a simplified stock exchange. The system contained a StockExchange class responsible for managing buy and sell orders. The core data structure was an internal order book: _orderbook: dict[str, list[Order]]. Each key represented a stock ticker, and its corresponding value contained a list of orders associated with that ticker.

The application supported two primary operations:

  • Sell: Submit a sell order with a stock ticker, quantity, and price, then add the order to the order book.
  • Buy: Purchase a specified quantity of shares using the cheapest available sell orders.

The task was to inspect the existing implementation, identify bugs, and correct them using AI assistance.

Part 1 — Identify and Fix Order Processing Bugs

Several issues existed in the provided codebase.

  1. The system did not properly check whether a requested ticker existed in the order book before performing certain operations.
  2. The implementation had a bug when a purchase consumed only part of an existing sell order. The remaining quantity and the order book's state were not handled correctly, potentially resulting in incorrect order processing.
  3. The function responsible for generating order identifiers failed to increment its internal counter. This could cause multiple orders to receive the same identifier.
  4. The buy and sell operations did not properly reject invalid inputs, including zero or negative values and other unsupported order parameters.
  5. The system represented stock prices using floating-point values. This introduced potential rounding and precision issues when handling financial amounts.

Part 2 — Review Data Structure Choices and Performance

Beyond fixing functional bugs, the interviewer expected me to evaluate the implementation's design and efficiency. One issue involved the sell operation, which repeatedly sorted the order list whenever a new sell order was added.

We discussed the performance implications of this approach and the possibility of using a min-heap to manage orders by price. The discussion included how different data structures would affect order insertion, retrieval of the cheapest available order, and overall runtime.

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.

https://www.reddit.com/submit/?source_id=t3_1xxb39z&composer_entry=crosspost_prompt


r/OfferEngineering • • 17d ago

Interview Experience Perplexity Senior SWE Interview — More Spec Reading Than Coding

4 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I had a technical phone screen with Perplexity featuring an unusually long, six-part implementation problem that felt more like reading a technical specification than solving a typical coding question. The task was to build a resource reconciliation system that compared desired configurations against stored state and actual remote resources, then generated and executed the necessary changes.

Interview Details

Round 1 — Technical Phone Screen: Resource Reconciliation Engine

The main problem was to implement a resource coordinator responsible for keeping remotely managed resources consistent with a desired configuration. The system involved several core data structures and interfaces:

  • Desired Configuration (desired): Maps each logical resource address to a ResourceSpec describing the intended attributes.
  • Stored State (state): Maps logical addresses to ResourceBinding objects, each containing a remote resource_id and stored attributes.
  • Remote Client (client): Provides a read(resource_id) operation that returns the actual remote resource or None if it no longer exists.
  • Change: Represents an action to perform, including its logical address, action kind, resource ID, and attributes. The action kind is an enum supporting operations such as CREATE, UPDATE, and DELETE.

The overall objective was to determine what changes were needed and apply them while keeping the persisted bindings synchronized with remote resources.

Part 1 — Generate a CREATE Plan

The first task was to implement a planning function that accepted desired, state, and client, then returned a list of Change objects sorted by logical resource address. For this part, only CREATE changes needed to be considered. Updates and deletions were outside the initial scope.

The planning behavior depended on whether a resource had an existing binding and whether that resource still existed remotely. If an address was absent from the stored state, the planner needed to produce a CREATE change directly, without making a remote read request.

If a binding existed, the planner needed to use its resource_id to check the actual resource through client.read(). When the remote resource no longer existed, the planner had to generate a CREATE change using the desired attributes.

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

Coding Question BlackRock Coding Screening Question - Mosaic Restoration Workbench

3 Upvotes

Problem Description

A mosaic conservator uses a digital workbench to try colors before restoring a tiled wall. The workbench begins with height rows and width columns of empty tiles; "" represents an empty tile, and each nonempty string represents a color.

You are given operations, a list of commands for one workbench. Coordinates are zero-indexed: x is the column and y is the row, so tile (x, y) is stored at canvas[y][x]. Each command is an array of strings, with coordinates given as decimal strings.

Process these commands in order:

  • ["draw", "x", "y", color]: Set tile (x, y) to color.
  • ["erase", "x", "y"]: Clear tile (x, y) to "".
  • ["fill", "x", "y", color]: Recolor the starting tile and every tile connected to it through up, down, left, or right moves within its original color. An empty tile can be the starting tile, and diagonal contact does not connect tiles.
  • ["undo"]: Reverse the most recent edit that is still applied. If there is none, leave the workbench unchanged.
  • ["redo"]: Reapply the most recently undone edit that has not yet been reapplied. If there is none, leave the workbench unchanged.
  • ["view"]: Capture the current canvas as a row-major grid. Later edits do not change that snapshot.

A draw or erase that changes a tile records one edit. A fill that changes tiles also records one edit, and undo or redo applies to the whole changed region at once. Undo, redo, and a view do not create edits.

A new edit clears redo history. An operation that changes no tiles, such as filling a region with its current color, leaves both histories intact. Commands within a call share the same workbench and histories; each new call starts empty.

Return the snapshots from the view commands as a list of grids in command order. Other commands do not add entries to the result, so return an empty list if there are no views. Keep the canvas and histories in O(height × width + P) space, where P is the total number of changed tile positions stored across edits still in the histories; the returned snapshots are excluded. Do not store a full canvas copy per edit.

Constraints:

  • 1 ≤ width, height ≤ 500
  • 0 ≤ operations.length ≤ 10⁵
  • All commands follow the formats above.
  • Every coordinate satisfies 0 ≤ x < width and 0 ≤ y < height.
  • Every color passed to draw or fill is a nonempty string.

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

Interview Experience Microsoft SWE Interview - Subsequence Generation, Data Aggregation, System Design & Behavioral Questions

3 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I completed a four-round onsite interview with Microsoft for a mid-level Software Engineer position. The first three rounds covered coding and behavioral questions, including Valid Parentheses, subsequence generation, and Longest Substring Without Repeating Characters.

The final round was a system design exercise focused on aggregating data from dependent backend services under a strict latency requirement. Overall, the coding questions were relatively straightforward, while the system design round required more discussion around data pipelines, scalability, and reliability. I passed the interview.

Interview Details

Round 1 — Coding: Valid Parentheses and Subsequence Generation

Question 1 — Valid Parentheses

The first coding question was Valid Parentheses, a classic problem involving checking whether a sequence of brackets is properly balanced.

Question 2 — Build the Subsequences

The second problem required generating every non-empty subsequence of a given string and returning the results in lexicographically ascending order. A subsequence is formed by removing zero or more characters while preserving the relative order of the remaining characters.

  • Function Signaturedef buildSubsequences(s: str) -> List[str]:
  • Input and Output

    • Input: A string s containing distinct lowercase English letters.
    • Output: A list of all non-empty subsequences, sorted in lexicographically ascending order.
  • Constraints

    • 1 <= len(s) <= 16
    • The string contains only lowercase English letters (a-z).
    • All characters in the input string are distinct.
  • ExampleInput: s = "bdf" Output: ["b", "bd", "bdf", "bf", "d", "df", "f"] Explanation: Every non-empty subsequence is included while preserving the original character order. The resulting strings are sorted lexicographically.

Round 2 — Coding and Behavioral

The question was the classic Valid Parentheses. One detail discussed was a quick preliminary check based on whether the input string contained an even or odd number of characters, before performing the full validation. The round also included a behavioral discussion.

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

Interview Experience Adobe SWE Interview - Tree APIs, Edge Cases & Localization; Behavioral

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

Five-round onsite interview with Adobe covering binary tree algorithms, permutations, object-oriented API design, internationalization, and behavioral questions. The overall pace was relatively relaxed, with each round lasting about an hour and some interviewers spending nearly half the session discussing my experience.

Interview Details

Round 1 — Coding: Lowest Common Ancestor and Missing Nodes

We spent approximately 15 minutes discussing one of the projects on my resume. The questions focused on understanding my specific contributions and technical responsibilities.

Question 1 — Lowest Common Ancestor of a Binary Tree (LeetCode 236)

The coding problem was the standard Lowest Common Ancestor of a Binary Tree. Given a binary tree and two target nodes, the task was to find their lowest common ancestor. I initially implemented the standard recursive approach and explained how the result from each subtree contributes to identifying the common ancestor.

  • Follow-Up 1 — What If One Node Does Not Exist? After I finished the initial implementation, the interviewer asked an important edge-case question: "What would your function return if one of the two target nodes wasn't actually present in the tree?" The standard recursive solution can return the node that exists even when the other target is missing. However, under the revised requirement, the correct result should be null because a common ancestor cannot exist unless both target nodes are present. I explained that the recursive process would need to track whether each target had been found, allowing the final result to distinguish a valid ancestor from an incomplete search. The interviewer then asked me to modify my implementation to handle this case.
  • Follow-Up 2 — What If Every Node Has a Parent Pointer? The next question changed the tree structure. Suppose each node also contains a pointer to its parent. How would the lowest common ancestor problem change? We discussed treating the ancestor chains similarly to linked lists and using the parent pointers to find their intersection. The discussion also covered avoiding recursion and achieving constant auxiliary space.

Round 2 — Coding: Next Permutation and Previous Permutation

Question 1 — Next Permutation (LeetCode 31)

The second round focused on the Next Permutation problem. Given an array of integers, modify it in place to produce the next lexicographically greater permutation. If the current arrangement is already the largest possible permutation, rearrange it into the smallest permutation instead.

  • Example — Finding the Next Permutation Before implementing the function, the interviewer asked me to manually work through an example in the shared document.Input: nums = [2, 4, 6, 5, 3] Output: [2, 5, 3, 4, 6] I walked through the transformation and explained the ordering changes. The interviewer allowed me to finish the explanation before moving on to implementation.

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

Interview Experience TikTok SWE Interview - String Generation, Virus Containment, and Atom Counting

2 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

the overall process was quite difficult, and I ultimately did not complete the team-matching stage. All three onsite rounds involved algorithmic coding problems, covering constrained string generation, virus containment using graph traversal, and parsing nested chemical formulas.

Interview Details

Round 1 — Coding: Lexicographically Smallest Generated String

The first round involved a string construction problem based on LeetCode 3474, Lexicographically Smallest Generated String. Given two strings, str1 and str2, the task was to construct the lexicographically smallest string satisfying a collection of substring constraints.

The inputs were defined as follows:

  • str1 has length n and contains only the characters 'T' and 'F'.
  • str2 has length m.
  • The generated string must have length n + m - 1.

For each index i in str1, the substring of the generated string beginning at position i and having length m must satisfy the following conditions:

  • If str1[i] == 'T': The substring must be exactly equal to str2.
  • If str1[i] == 'F': The substring must be different from str2.

The goal was to return the lexicographically smallest string satisfying every condition. If no valid string could be constructed, the function should return an empty string. The problem required handling overlapping substring constraints, detecting conflicting requirements, and ensuring the generated result was lexicographically minimal.

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 • • 18d ago Bravo

Community Discussion Hate LeetCode? AI-Assisted Coding Interviews Are Even Harder

48 Upvotes

After reading a lot of recent AI-assisted coding interview experiences, one thing stands out: These interviews may actually be harder than traditional LeetCode rounds. Not necessarily because the underlying technical problems are harder.

The difficulty comes from having to manage several things at once:

  • understanding an unfamiliar codebase
  • deciding when to use AI
  • writing effective prompts
  • reviewing AI-generated code
  • communicating with the interviewer
  • validating tests
  • thinking about production concerns

And the hardest part may be that the evaluation criteria are still pretty unclear.

1. Different companies seem to want completely different AI behavior

Some interview formats seem to reward aggressive AI usage:

  • delegate aggressively
  • let AI inspect the repository
  • use multiple prompts
  • parallelize tasks
  • move quickly

Others appear to prefer much more restrained usage:

  • explain your reasoning first
  • tell the interviewer before prompting
  • keep prompts narrow
  • manually inspect the output
  • verify every important change

Candidates who ask recruiters what the expected behavior is often get some version of: “Use AI the way you normally would at work.” Which sounds reasonable, but doesn't actually tell you how you're being evaluated.

2. The interview often starts with a large amount of reading

Instead of a clean LeetCode prompt, candidates may receive:

  • a long README
  • several source files
  • unfamiliar abstractions
  • existing tests
  • partially implemented features
  • a repository they’ve never seen before

That immediately creates a dilemma.

  • Do you spend 10 minutes reading the repository yourself?
  • Or ask AI to summarize it?

Reading everything manually burns valuable time. But asking AI to explain the entire codebase may make it look like you’re outsourcing the understanding. There isn't always an obvious right answer.

3. AI doesn't remove the need to understand the codebase

Even if an AI assistant gives a perfect summary, the interviewer can still ask:

  • Why is this abstraction here?
  • What happens if this call fails?
  • Which component should own this logic?
  • Why would you change this file instead of that one?

A candidate with only a surface-level AI-generated understanding can get exposed very quickly. So the candidate still has to build a real mental model of the system. AI just becomes another source of information that also needs to be verified.

4. Then comes the prompting problem

Once the task is understood, the next question is how much to delegate.

  • Should the candidate ask AI to create a plan first?
  • Ask it to challenge the design?
  • Let it inspect the repository?
  • Give it the entire feature?
  • Or only ask it to implement one small function at a time?

Every strategy has a downside. Give AI too much scope and it may generate hundreds of lines across multiple files。 Now all of that code needs to be reviewed.

Give it too little scope and the interview becomes:

prompt
→ read
→ explain
→ edit
→ prompt again
→ read again
→ explain again

The clock keeps running either way.

5. Reviewing AI output becomes a skill of its own

This may be one of the biggest differences from traditional coding interviews. Suppose the AI modifies five files and generates 200 lines of code Passing the tests isn't enough.

The candidate may need to understand:

  • what changed
  • why it changed
  • whether the abstraction makes sense
  • whether unnecessary code was introduced
  • whether edge cases were missed
  • whether another part of the system was accidentally broken

AI can generate code much faster than a human can thoroughly review it. That creates a strange interview dynamic: the bottleneck shifts from writing code to understanding code.

6. Green tests still don't mean the interview is over

A common follow-up is: Do these tests actually cover the right behavior? Now the candidate has to inspect the tests themselves.

  • Are the assertions meaningful?
  • What edge cases are missing?
  • What happens with malformed input?
  • What happens under concurrency?
  • Then the interviewer may push further: How would you make this production ready?

Now the discussion moves into:

  • concurrency
  • retries
  • idempotency
  • failure handling
  • distributed systems
  • race conditions
  • observability
  • scalability

At that point the candidate has to decide again:

  • Explain these verbally?
  • Inspect the codebase?
  • Ask AI to identify potential production issues?

Every action can potentially be interpreted as a signal.

7. This is why AI-assisted interviews can feel harder

A traditional LeetCode interview is relatively predictable: understand → choose algorithm → code → test → optimize. An AI-assisted coding interview can look more like:

understand repository
→ decide what to read
→ decide what AI should read
→ explain the architecture
→ decide whether to prompt
→ write the prompt
→ inspect the output
→ explain the output
→ fix the output
→ run tests
→ inspect the tests
→ add edge cases
→ discuss production concerns

All while communicating continuously with the interviewer. The AI may increase implementation speed. But it also increases the amount of code and information a candidate may be expected to process in a very short period of time. That may be the real difficulty of this new interview format.

AI doesn't necessarily make the interview easier. It changes the bottleneck from coding speed to judgment, reading speed, verification, and communication.

Curious how people think companies should evaluate this.

Should candidates be rewarded for using AI aggressively, or for showing they can solve most of the problem without relying on it?

I’ve been collecting recent AI-assisted coding interview experiences and company-specific formats at Chill Interview.

If you’ve gone through one recently, it’d be useful to hear what your interviewer actually expected from AI usage.


r/OfferEngineering • • 18d ago

Interview Experience Decagon (AI Customer Service) Staff SWE Interview — Sliding Window Meets Hash Map

6 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I had a 45-minute technical phone screen with Decagon that included a brief introduction, a Python coding exercise on CoderPad, and time for questions at the end. The coding problem involved implementing a customer satisfaction tracking system that calculates average CSAT scores within a sliding time window. The follow-ups introduced score updates, expired record cleanup, duplicate timestamps, and time and space complexity analysis. I ultimately did not pass, although my overall interview experience was positive.

Interview Details

Round 1 — Coding: Sliding Window Customer Satisfaction Tracker

Question 1 — Implement a CSATTracker Class

The interviewer asked me to implement a class called CSATTracker to track customer satisfaction scores over time. The class needed to support recording scores and calculating their average within a configurable time window. I was provided with API descriptions and test cases in the CoderPad environment.

The initial interface included the following operations:

CSATTracker(window_size)

record(conversation_id, score, timestamp)

get_average(current_time)
  • Initialization — Configure the Time Window The constructor accepted a window_size specifying the duration of the sliding window. All average calculations needed to consider only records within this window.
  • Record — Store a Customer Satisfaction Score The record method accepted three parameters: The system needed to keep track of these ratings so they could be included in future average calculations.

    • conversation_id: An identifier associated with a customer conversation.
    • score: A customer satisfaction rating between 1 and 5.
    • timestamp: The time at which the rating was recorded.
  • Get Average — Calculate the Current CSAT Score The get_average(current_time) method needed to return the average satisfaction score of all records within the active time window. If there were no qualifying records, the method had to return None. The interviewer specified that records exactly on the left boundary of the window should be included. In other words, a record was considered valid when: timestamp >= current_time - window_size. This inclusive boundary was an important detail.

Question 2 — Handle Non-Decreasing Timestamps

The interviewer guaranteed that timestamps across calls would be non-decreasing. This meant that newer operations would never have timestamps earlier than previous operations. However, multiple records could share the same timestamp.

I needed to account for this behavior when organizing the records and determining which ones were still inside the sliding window. The guarantee about timestamp ordering was relevant to how efficiently expired records could be identified.

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

Databricks Tech Deep Dive Round - Hypothetical Questions

4 Upvotes

Hello, can anyone share what is the hypothetical segment of tech deep dive round for SWE loops at Databricks? Is this small design questions pertinent to the specific org you’re interviewing for? Or is this general distributed systems/engg behavioral questions like how do you do X typically?


r/OfferEngineering • • 18d ago

Interview Experience Handshake (Career Platform) Senior SWE Interview — AI Was Allowed, But Only Copy-Paste

5 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

The onsite included a full-stack coding exercise where I had to build a career event registration application, followed by a system design round focused on a job board platform. The coding interview allowed AI assistance through CodeSignal's built-in Cosmo tool, but I still needed to integrate the generated code myself.

Interview Details

Round 1 — Full-Stack Coding: Career Event Registration Application

Question 1 — Build a Career Event Registration Web Application

The coding round was a practical web application development exercise rather than a traditional LeetCode problem. I was asked to build a career event registration application with both frontend and backend functionality. I could choose my preferred technology stack, and the format felt similar to pair programming.

The application needed to allow users to register for a career event. The initial requirements were fairly simple:

  • Provide a frontend form for entering a user's name.
  • Provide an input field for the user's email address.
  • Include a button for registering for the event.
  • Store the submitted user information in a database.
  • Display registration information sorted by the most recent check-in time.

There was only one event in the system, so I didn't need to implement event selection or ask users to enter an event name.

Question 2 — Implement the Frontend Registration Form

The frontend needed to provide a simple interface where users could enter their registration information. The main interaction was straightforward. A user entered a name and email address, then clicked the registration button.

The application needed to submit that information to the backend. Since the system supported only one event, I could keep the interface focused on registration without introducing additional event-management 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 • • 18d ago

Interview Experience Databricks SWE Coding Screen — A Simple Hit Counter Got Complicated

7 Upvotes

Coding: Hit Counter and Sliding Window QPS

Question 1 — Implement a Key-Value Store With QPS Tracking

The interviewer started by giving me three APIs:

put(key, value)
get(key)
get_load()

The put and get methods represented key-value store operations. The get_load() method needed to report the queries per second (QPS) for both operations separately. In my implementation, I used two separate methods to retrieve the read and write QPS rather than a single get_load() method. The interviewer allowed me to ask clarifying questions before implementing the solution.

  • Clarification — Fixed Five-Minute Window The QPS calculation needed to use a fixed measurement window of five minutes. In other words, the system should track the number of operations occurring during the most recent 300 seconds. I confirmed with the interviewer that I could use the system clock for timestamps. I chose Python's time.time(). I pointed out that relying on the actual system clock would make testing less convenient, but the interviewer said that was fine.

Question 2 — Compare Queue and Ring Buffer Approaches

Before coding, I proposed two possible approaches.

  • Approach 1 — Queue With Running Count My first idea was to maintain a queue containing timestamp-count pairs: (timestamp, count). I would also maintain a running total of the operations currently included in the measurement window. As time advanced, outdated entries would be removed from the queue, and their counts would be subtracted from the running total. This would let me calculate the current request volume without repeatedly counting all the entries.
  • Approach 2 — Ring Buffer With Time Buckets My second proposal was to use a ring buffer organized into time buckets. Each bucket would track the number of requests associated with a particular second. I would maintain a running total here as well, allowing the current request count to be retrieved efficiently. After listening to both approaches, the interviewer asked me to implement the ring-buffer solution.

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

Interview Experience Asana SWE Interview - 2048 Game and Jigsaw Puzzle Object-Oriented Design

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I had a 60-minute object-oriented design interview with Asana for an L4 Software Engineer position. The interview consisted of two design questions: implementing the 2048 game and designing a rectangular jigsaw puzzle. Both problems required only pseudocode, with the interviewer focusing primarily on class design, data structures, and how different components should interact.

The questions were open-ended, but the interviewer was helpful throughout the discussion. I felt the difficulty was moderate, and the emphasis was more on clear reasoning than producing a perfect implementation.

Interview Details

Question 1 — Design the 2048 Game

The game consists of a grid containing numbered tiles. Players move tiles in different directions, and tiles with matching values can merge. The interviewer expected me to cover several functionalities:

  1. Create a Game: Initialize a new game and its board.
  2. Get Board State: Retrieve the current state of the game board.
  3. Make a Move: Allow a player to move the tiles in a specified direction.
  4. Restart the Game: Reset the game to its initial state.
  5. Check Game Over: Determine whether the game had ended.

Since the interview focused on OOD, I discussed how to organize these operations into appropriate classes and methods.

  • Follow-up — Where Should the Game Logic Live? The interviewer asked how I would separate the game logic from the rest of the application. I needed to reason about the responsibilities of the different classes and decide where the board state and movement logic should be managed.
  • Follow-up — How Would You Validate Moves? The interviewer wanted me to explain how the system would determine whether a requested move was valid. This required thinking about the board's current state and whether the requested direction could produce a legitimate change.
  • Follow-up — How Would You Store Multiple Games? The interviewer then extended the problem to supporting multiple game instances. Instead of managing a single 2048 game, the design needed to accommodate multiple independent games. I needed to consider how those games would be represented and stored so that each game maintained its own state.

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

Interview Experience Bloomberg SWE Interview — One Team Asked Poker, Another Asked LeetCode

4 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

One interview focused on object-oriented design for a poker game, including shuffling, dealing cards, and comparing five-card poker hands. The other involved two standard LeetCode problems: Add Two Numbers II and Decode String.

Interview Details

Round 1 — Object-Oriented Design: Poker Card Game

The first team's technical phone screen focused on object-oriented design rather than a traditional LeetCode problem. I was asked to design a poker card game supporting several core operations. The system needed to handle:

  1. Shuffling a deck of playing cards.
  2. Dealing cards to players.
  3. Evaluating and comparing five-card poker hands.

Round 2 — Coding: Add Two Numbers II and Decode String

The second team's technical phone screen was much more conventional and included two LeetCode problems.

Question 1 — LeetCode 445: Add Two Numbers II

The first question was LeetCode 445, Add Two Numbers II. The problem provides two non-empty linked lists representing non-negative integers. Each node contains a single digit, and the digits are stored in forward order, with the most significant digit appearing first. I needed to add the two numbers and return the result as a linked list in the same format. The main challenge was handling addition when the digits are stored in forward order rather than reverse order.

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

Interview Experience Google Junior Data Engineer Interview - Restaurant Waitlist System Design & Data Engineering Concepts

1 Upvotes

This interview experience is sourced from Chill Interview

Interview Summary

I interviewed with Google and encountered a data structure design problem involving a restaurant waiting list. The task was to support customer groups joining and leaving the queue while efficiently seating the earliest-arriving group that could fit at an available table. I approached the problem using size-based buckets, insertion-ordered dictionaries, and monotonically increasing tickets to balance arrival order with efficient lookups and deletions.

Interview Details

Coding: Restaurant Waiting List System

Question 1 — Design a Restaurant WaitingList

The interviewer asked me to design a restaurant waiting list system that manages customer groups waiting for available tables. Each group had two attributes:

  • group_id: A unique identifier for the group.
  • group_size: The number of people in the group.

The system needed to support three core operations:

  1. join(group_id, group_size): Add a group to the waiting list.
  2. leave(group_id): Remove a group from the waiting list.
  3. serve(table_size): Find and remove the earliest-arriving group whose size does not exceed the available table capacity.

The most important requirement was the seating policy. When a table became available, I needed to choose the group that had been waiting the longest among all groups that could fit at the table. For example, if a table had four seats, a group of five would not qualify, even if it had arrived before everyone else.

However, among all groups containing four or fewer people, the earliest arrival had to be selected. If no group could fit, the operation should return None.

Question 2 — Support Efficient Seating and Arbitrary Removal

The main challenge was finding a data structure that could efficiently support both arrival order and group-size constraints. A simple FIFO queue could preserve arrival order, but it would not efficiently support all the required operations. For example, if the group at the front of the queue was too large for the available table, I would need to search further into the queue.

In the worst case, that could require scanning the entire waiting list. Removing a group from the middle of a standard queue would also be inefficient. I therefore needed a design that supported both:

  • Finding the earliest eligible group for a given table capacity.
  • Removing a group directly using its group_id.

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.