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
Given itemized medical bill lines extracted from a personal injury case file, compute the total billed amount per provider and the overall medical specials, counting duplicate lines (same provider, date of service, procedure code and amount) only once.
Given a sequence of error codes emitted by pods in an OpenShift cluster and an integer k, return the length and start index of the longest contiguous window containing at most k distinct codes.
Estimate how many packages are picked up from Amazon Lockers in a city of about 750,000 people each day, and how many lockers that implies.
Facebook caps how many push notifications a user receives per day. A team tests a new 'friend posted a memory' notification that competes for the same slots. Design the test so you measure the true net effect.
Given the timestamps of GPS fixes received during a flight and the receiver's nominal update period, return every interval where no fix arrived for more than k periods, plus the total time spent without GPS.
Given daily ad spend by advertiser and country, write SQL that returns the top three advertisers per country over the last 30 days with each one's share of country spend and the cumulative share.
Contractor i has a quality score q[i] and a minimum acceptable wage w[i]. Hire exactly k contractors so that each is paid in proportion to quality within the group and at least their minimum. Return the least total pay.
Design the SQL for a daily pipeline that maintains a cohort retention table keyed by (signup_date, day_offset) for offsets 0 to 30, updating only the affected cells each day and reprocessing the last three days of activity to absorb late-arriving events.
Design an ML system that scores every payment for fraud risk within a tight latency budget during authorisation, trained on labels that mostly arrive as chargebacks weeks or months after the transaction.
Design how a Google Account profile photo is uploaded, cropped, resized and served, so that a change appears across Gmail, Meet, YouTube, Chat and third-party sign-in screens within minutes.
A strategy gains or loses one unit per trade, winning with probability p independently. Starting at zero, what is the probability it reaches +a before -b, and what is the expected number of trades when p = 1/2?
Given the head of a singly linked list of order timestamps in arbitrary order, return it sorted ascending. Target O(n log n) time and discuss how to keep extra space low.
Build a component that receives a live transcript one word at a time and returns, after each word, every configured trigger phrase that just completed, suppressing a phrase that already fired within the last K words.
Using a trades table (symbol, quote asset, price, quantity, executed_at) and an hourly table of USD reference prices per asset, compute each day's USD notional volume per trading pair, its share of that day's total, and its rank. Pairs quoted in a crypto asset such as ETHBTC must be converted to USD at the hour of the trade.
Each of n tasks in a Lark project board belongs to a team (or none, marked -1) and has a list of prerequisite tasks; return an order that respects all prerequisites and keeps every team's tasks adjacent, or an empty list if impossible.
Leadership wants one metric for whether drivers are earning well on Uber. Critique average hourly earnings and propose a better definition.
A parking kiosk charges a fixed price and accepts events INSERT(coin), CANCEL, and PRINT. Implement the kiosk as a state machine that returns, for each event, what it does: print a ticket with change, refund the balance, or report insufficient funds.
WhatsApp changed the default Status audience for new users from "My contacts" to "My contacts except..." with a pre-filled exclusion step, and Status views per user fell 7%. How would you assess the change?
Given an events table of MinuteClinic online booking activity (user_id, event_name, event_ts) with steps search_clinic, select_slot, enter_insurance, confirm_booking, compute how many users reached each step in order within 24 hours of their first search and the step to step conversion rate.
Design the system that measures how long the Instagram app takes to launch on real devices, aggregates the data, and shows percentile trends by app version, device class, and country.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.