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 fitting a logistic regression scorecard on 300 candidate features for small business card applicants. Explain how L1 and L2 penalties differ, which you would use, and how you would pick the penalty strength.
Given a time-ordered list of trades with buyer and seller account ids and a mapping from account to beneficial owner, flag trades where the same owner is on both sides, and trades that reverse an earlier trade between the same two owners in the same symbol within a time window.
Leadership tracks the card approval rate weekly. After a prequalification tool change, the approval rate jumped from 38% to 51% while booked accounts barely moved. Explain what happened and define a better metric.
Given shoppable Pins grouped by category (tops, shoes, bags) with prices, list outfits that pick exactly one item from every category with a total price at or under the budget, returning at most a fixed number of results.
A grid models seats in a group chat room: 0 is empty, 1 is an uninformed member, 2 is a member who knows the rumor. Each minute, informed members tell their four neighbors. Return the minutes until everyone is informed, or -1 if someone never hears it.
Each workday an employee's badge record is Present, Late, or Absent. A record is valid if it has fewer than two Absent days in total and never three Late days in a row. Count valid records of length n modulo 1,000,000,007.
Half a percent of new Amazon seller registrations are fraudulent. A risk model flags 90% of fraudulent accounts and 4% of legitimate ones. What fraction of flagged accounts are fraudulent, and what changes after a second independent signal fires?
Given an m x n grid of non-negative toll costs, return the minimum total cost of a route from the top-left to the bottom-right cell that only moves right or down, including both endpoint cells.
Design the ranking system for product queries in Google Shopping, where many merchants list the same item with different prices, shipping and feed quality. Results should show the right products and the best offers for each.
Given log entries like '9001 maps.google.com', where the number is a visit count, return the total visit count for every domain and parent domain (maps.google.com, google.com, com).
Given CIDR routes such as 10.0.0.0/8 with next hops, answer lookups for IPv4 addresses by returning the next hop of the most specific matching route, or None.
Write the server-side logic that makes a create payment call safe to retry: the same idempotency key with the same request returns the original result, a reused key with a different body is rejected, and concurrent or unknown-outcome requests never double charge.
Design the throttling layer for an API gateway like Microsoft Graph that enforces limits per app, per tenant and per user across many backend services, returns proper retry guidance, and protects backends during overload.
A delivery van drives a circular route of n depots, refueling fuel[i] at depot i and spending cost[i] to reach depot i + 1. Starting with an empty tank, return the index of the depot where it can start and complete the full loop, or -1 if none exists (the answer is unique if it exists).
An undirected network has links with success probabilities. Return the highest probability that a packet travels from start to end along a single path, where a path's probability is the product of its link probabilities.
Design the service behind the red unread badge on Facebook's notification bell so the number is correct on phone, tablet, and web, and clears everywhere when the user reads on one device.
Design the backend that records per-scenario simulation metrics (collisions, minimum time to collision, comfort, rule violations) for every build of an autonomy stack, and powers dashboards that compare builds, flag regressions and track trends over months.
Each listing has a price, a quantity and a seller split rule (ANY, PAIRS, NO_SINGLE, or ALL). Given a buyer's requested quantity q, return the ids of listings that can legally sell exactly q tickets, sorted by price and then id.
Given an invoices table, write SQL that computes each company's daily invoice count including days with zero invoices, compares it with the average of the previous 28 days, and flags days that are more than three times the baseline and at least 20 invoices.
Tell me about a time you took ownership of a system or problem that had no clear owner. How did you get up to speed and what did you deliver?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.