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
Explain why payroll code should never store amounts as binary floats, then implement a small immutable Money type that supports parsing, addition, subtraction, multiplication by a tax rate and display.
Design the feature that lets buyers save a search (keywords, category, price range, condition) and get a push notification or email when new matching listings appear, at eBay scale.
Riders on flaky networks tap Request and the app retries, sometimes creating duplicate trips. Design and implement idempotency-key handling for POST ride requests, including concurrent duplicates, key reuse with a different body, and crashed attempts.
Tell me about a time a customer or internal stakeholder pushed hard for a custom change that did not fit the product direction. How did you handle it, and what happened?
Given a versioned shipping rate card per carrier and weight tier and a table of purchased shipping labels, find the rate that was in effect when each label was created and flag labels charged a different amount, using LEAD to build validity intervals.
Given a grid of terrain elevations, return the length of the longest path that moves in four directions and strictly increases in elevation at every step.
Given a pandas DataFrame of runs (member_id, run_date, distance_km), compute each member's longest streak of consecutive calendar weeks (Monday start) that contain at least one run of at least 1 km, along with the week the streak started.
Given a DataFrame of prescription fills (store_id, fill_date), compute daily fill counts per store with days that had no fills filled in as zero, then add a trailing seven day average that is only reported once a full week of history exists.
A fraud model flags card transactions. Fraud occurs in 0.1% of transactions, the model catches 99% of fraud, and it wrongly flags 2% of legitimate transactions. What is the probability that a flagged transaction is actually fraud?
You are fitting a logistic regression to predict Type 2 diabetes onset from about 40,000 one-hot ICD-10 and procedure code features on 200,000 Aetna members. Explain how you would choose between L1, L2 and elastic net regularization and how you would tune it.
Model a OneDrive folder hierarchy as a binary tree. Return True if, for every folder, the heights of its left and right subtrees differ by at most one.
Your team wants to estimate feature effects from observational data because experiments are slow. You have a library of 200 past Instagram experiments with known results. Explain how you would use them to judge how biased observational methods are and to correct new estimates.
Design the internal platform researchers use to submit signal code, simulate it over 20 years of global equity data with realistic costs, and get standardized results, supporting thousands of simulations a day and checking each new signal against the existing pool.
A publisher tests raising the cap on rewarded video ads from 3 to 6 per player per day. Ad revenue per user rose 18% in week one but day-7 retention fell from 20.0% to 19.2%. How do you decide whether to ship, and what analysis would you run?
A model assigns zero or more topic labels (gaming, cooking, music, and about 3,000 others) to each YouTube video. Explain which metrics you would use to evaluate it, how they behave on rare topics, and how thresholds interact with them.
You are the delivery manager on a client's SAP S/4HANA rollout. Six weeks before cutover, integration testing shows a high defect count and two key interfaces are late. Walk me through how you lead the team and the client through the next six weeks.
Tell me about a time you helped a peer improve how they worked, such as code quality or testing habits, when you had no formal authority over them.
Given a gift message string of lowercase letters, return True if it is a palindrome or can become one by deleting at most one character.
Edge nodes are arranged in a line and node i can forward a live stream to any of the next reach[i] nodes. Return the minimum number of hops from node 0 to the last node, or -1 if it cannot be reached.
Given a list of fare quotes in time order, return True if there exist two indices i != j with |i - j| <= k and |fare[i] - fare[j]| <= t. This flags quotes that are suspiciously close in both time and price.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.