Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,568 questions · 341 companies · 1,114 reported by candidates
Showing 11,568 results
You are comparing two arrival time models for Google Maps driving directions. Explain how MAE, RMSE, and MAPE would rank them differently and which one you would use as the primary offline metric.
Given an m x n table of request latencies where every row is sorted left to right and every column is sorted top to bottom, decide whether a target latency appears in the table.
Given a time-ordered stream of login events (timestamp, user, success), return the users who reach at least k failed logins within any window of w seconds, where a successful login resets that user's failure count. Report each user once, in the order they were first flagged.
Given, for each GPS ping, candidate road segments with the distance from the ping to each segment, plus a routing function between segments, return the most likely sequence of segments using a hidden Markov model and the Viterbi algorithm, restarting cleanly when no connected path exists.
Given an envelope's recipients as (recipient_id, routing_order) pairs and the set of recipients who have already completed, return the recipients who should currently be able to act. Recipients sharing a routing order sign in parallel; a higher order unlocks only when every lower order is done.
A nightly test that reconciles internal book P&L against the prime broker's file passes most runs but fails a few times a week with one-cent differences; find the likely causes and make the code and test deterministic.
Given a list of [start, end) second ranges a viewer watched in one Reel, including rewinds and replays that overlap, return the number of distinct seconds of the video they actually saw.
Design the features for a model that scores whether a PayPal payment is being made by an account takeover attacker rather than the real account owner, and explain how you would compute them in real time.
A session is a binary array where 1 means the user watched a video to completion and 0 means they swiped away early. Return the length of the longest contiguous stretch that contains at most k skips.
Given an encoded string where k[s] means s repeated k times and brackets can nest, return the fully expanded string.
You own the plugin roadmap for an employee AI assistant and have capacity to build three new out-of-the-box integrations next quarter from candidates like Workday, SAP Concur, Coupa, Salesforce, Zoom admin and an internal-app builder. How do you decide?
Given a table of end-of-day portfolio weights with one row per date and ticker (weight 0 when flat), write SQL that returns each day's one-way turnover and gross exposure.
Tell me about a time your launch and a partner team's launch both had immovable dates, their work was on your critical path, and you had to negotiate what each side would deliver.
Tell me about a time you had to get several teams that did not report to you to adopt a change, such as a shared library or platform migration, and how you got them to move.
Eight loans have been observed for varying lengths of time: defaults at months 3, 6 and 9, and loans still active (censored) at months 5, 6, 12, 12 and 14. Estimate the probability of surviving 12 months without default using Kaplan-Meier, compare with naive estimates, and explain how prepayment complicates the analysis.
Design an LLM-based agent system for a merger arbitrage team that watches regulatory filings, court dockets and news for pending deals, extracts material events, and proposes updated deal completion probabilities with cited evidence.
You receive a daily snapshot table (snapshot_date, page_id, category, country) for Facebook Pages. Convert it to a type 2 dimension with one row per page per contiguous period of unchanged attributes: valid_from, valid_to (exclusive, null if current), handling pages that disappear and reappear.
Given messages(message_id, workspace_id, user_id, subtype, sent_at) and users(user_id, is_bot), write SQL that reports, per week, how many workspaces were active (at least 3 distinct human senders) and the average messages per human sender inside those active workspaces.
Given a list of products (each a map of facet to value) and the shopper's selected values per facet, return the matching products and, for every facet value, how many products would match if that facet's own selection were ignored. Values are OR'ed within a facet and AND'ed across facets.
When you bootstrap a training set of n rows (draw n rows with replacement), what fraction of the original rows appear at least once on average, and how is this used for out-of-bag evaluation?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.