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
Write functions that read a bit field and write a new value into a bit field (given offset and width) of a 32-bit control register without disturbing the other bits. Reject fields that fall outside the register and values that do not fit the field width.
Design the service behind an instant quote: a shipper enters origin, destination, cargo details and ready date, and receives several priced options (carriers, routings, service levels) in under two seconds, with prices that hold for a validity window.
Implement a function that evaluates an integer arithmetic expression string containing +, -, *, /, parentheses, unary minus and spaces, where division truncates toward zero, without using eval.
Each project in a Visual Studio solution has a compile time and a list of projects it depends on. With unlimited parallel build agents, a project can start once all its dependencies finish. Return the minimum total time to build everything, or -1 if the dependencies contain a cycle.
Given customer records that each have an id, a list of phone numbers and a list of emails, group together every record that is connected through a shared normalized phone number or email, directly or transitively.
A triangle of integers has one value in the first row, two in the second, and so on. Moving from a cell to one of the two adjacent cells in the next row, return the minimum path sum from top to bottom.
Design an indexing system that watches more than a hundred blockchains, detects every transfer to or from any of millions of custodial addresses within seconds of a block, tracks confirmations and reorgs, and feeds balances, the ledger and client notifications.
Your model flags charts with a missed billable procedure, which occurs in about 3% of charts. Auditors labeled a random sample of 2,000 charts and the model's flags on them; explain how you would evaluate the model, which metrics you would report to a customer, and how you would set the flagging threshold.
A new Gmail thread summarization model scores lower ROUGE than the current one, yet early raters prefer it; design an evaluation that decides which model should launch.
Implement a jitter buffer that accepts media packets tagged with 16-bit sequence numbers that can arrive late, duplicated or out of order, releases them strictly in sequence order, and skips a gap once more than K packets are waiting behind it.
Given an unordered log of bids (lot id, bidder, amount, timestamp), each lot's end time, and a minimum bid increment, return the winning bidder and amount for every lot. A bid counts only if it arrives by the lot's end time and beats the standing high bid by at least the increment.
Describe a time you had to get a non-technical stakeholder to accept a technical constraint or trade-off. How did you explain it so they agreed?
Design the pipeline that lets members upload videos to LinkedIn posts from mobile and web, transcodes them into adaptive streaming formats, and publishes the post once the video is ready.
A client's HR mainframe exports employee IDs in inconsistent forms (lowercase prefixes, dashes, spaces, missing zero padding). Write a function that returns the distinct valid IDs in canonical form ACN plus 8 digits, preserving first-seen order and dropping invalid entries.
Describe a time you proposed an idea that was rejected, what you learned from the rejection, and how you approached it differently.
Describe a time you led the post-incident review for an event that spanned several teams, and how you made sure the right fixes actually happened.
Design the DoorDash checkout path that creates an order and charges the customer's card exactly once, even when the app retries on timeouts, the user taps Place Order twice, or a downstream service fails midway.
Design a service that screens every outgoing and incoming payment (names, addresses, banks, free text) against sanctions lists before release, within the latency budget of SEPA Instant, and routes potential matches to human investigators.
An engineering change to Messenger startup is expected to help slow devices most. Design the experiment and analysis to show it reduces 95th percentile cold start time, not just the average.
A teammate reports that their new home price model cuts median absolute percent error from 7% to 3% using a random 80/20 split of five years of sales. Explain what could be wrong and how you would set up a trustworthy 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.