Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,534 questions · 341 companies · 1,080 reported by candidates
Showing 11,534 results
Given a singly linked pick list L0, L1, ..., Ln, reorder it in place to L0, Ln, L1, Ln-1, L2, ... so a picker alternates between the two ends of an aisle. Do not create new nodes.
Tell me about a time you tried to influence a group to adopt something and it did not work. What went wrong, and what did you take from it?
An order is filled in pieces, and each fill is an independent Uniform(0, 1) fraction of the target size. What is the expected number of fills until the cumulative filled amount exceeds the target, and what is the expected total filled at that point?
Card transactions carry raw descriptors like "SQ *BLUE BOTTLE 0423 OAKLAND CA". Compare TF-IDF character n-grams with sentence embeddings for matching these strings to a clean merchant catalog, and say which you would start with.
In TikTok LIVE, a viewer who sends the same gift again within 3 seconds of their previous one extends a combo shown on screen. Given gift events `(ts, user, gift)`, return every combo of length at least 2 as `(user, gift, length, start_ts)` ordered by start time.
Meta Pay's internal ledger and an external processor's settlement report should agree on every payment. In pandas, classify each payment id as matched, missing at the processor, unknown to the ledger, double settled, or amount mismatch.
Given each employee's manager and each approver's spending limit, return the ordered list of managers a purchase request must pass through, stopping at the first manager whose limit covers the amount. Raise an error if no one can approve it or if the org chart contains a cycle.
Design an enterprise search system that indexes content from dozens of SaaS tools for a single customer and returns relevant results in under 500 ms, never showing a user a document they cannot open in the source app.
Build a structure for the Phone app that supports add_call(name), which records a call to a contact, and suggest(prefix, k), which returns up to k contact names starting with the prefix, ordered by call count descending and then alphabetically.
Tell me about a time leadership changed direction and your team's main project was deprioritized or redirected. How did you lead the team through it?
Given an impressions table with app, ad network, country and revenue per impression, write SQL that reports eCPM (revenue per thousand impressions) per ad network and country for the last 7 days, keeping only groups with at least 1,000 impressions.
Given a batch of loan applications each with an SSN and optional phone, email, device ID and bank account, group applications that are connected through any shared attribute (transitively) and return the groups that span at least k distinct SSNs, while ignoring attribute values shared by so many applications that they are clearly not personal.
Spotlight evaluates typed arithmetic. Implement evaluate(expr) for integers with +, -, *, /, unary minus and parentheses, where division truncates toward zero, without using eval.
Tell me about a time someone on your team was performing well but had stopped growing. How did you raise it, and what happened?
A 12-layer fully connected fraud network with sigmoid activations trains for hours while its loss barely moves, and the first layers' weights hardly change. Explain what is happening and how ReLU, initialization, normalization and residual connections fix it.
Tell me about a time you believed another team's technical or product decision was wrong and you changed it even though you had no authority over that team.
A house floor plan is an m by n grid. HomePods are placed one at a time at given cells, and two HomePods connect if they are horizontally or vertically adjacent. After each placement, return the current number of connected clusters.
Given a video transcript string s and a keyword pattern t, return the shortest substring of s that contains t as a subsequence (characters in order, not necessarily adjacent). If several tie, return the leftmost; if none, return an empty string.
A customer service queue for Amazon Fresh averages 4 contacts per 10-minute window overnight. What is the probability of 8 or more contacts in a window, and when does the Poisson model break?
Tell me about a time you noticed your team measured success with internal metrics and you introduced a metric that reflected the customer's experience.
Get the full picture with our company interview guides.