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
Implement undo and redo for a simple text editor that supports insert and delete. Each user edit should be undoable, consecutive typing should collapse into one undo step, and a new edit after undo should clear the redo history.
Two queries of equal length are similar if they are identical or if swapping two letters in one yields the other. Similarity is extended transitively. Given a list of queries that are all anagrams of one another, return the number of similarity groups.
Design the pipeline that lets a law firm upload tens of thousands of files (PDFs, scans, Word, email archives) into a secure workspace, then extracts text, chunks, and indexes them so they become searchable and usable by AI workflows.
A Facebook integrity model flags 10,000 posts per day, split into a high-score and a low-score band, and reviewers only label 100 from each band. Explain how to estimate overall precision correctly and why the naive average is wrong.
Design the system that delivers call lifecycle events (call started, call ended, call analyzed) to thousands of customer webhook endpoints with retries, signing, per-endpoint isolation and a way for customers to replay missed events.
Using a shared_links table and a link_access_events table, report for each enterprise how many accesses were served after the link's expires_at, how many links were affected, and the latest such access.
Design the system that takes thousands of newly racked GPU servers from power-on to customer-ready, including OS imaging, firmware alignment, burn-in testing and handover, with failed nodes routed to repair.
Given directed exchange rates between assets, determine whether some cycle of conversions returns more of the starting asset than you began with, and return one such cycle.
A servicer wants to test SMS reminders sent a few days before and after the due date. Design the experiment, choose the metrics, compute the sample size for a plausible effect, and explain how you would analyze the result.
Design an object storage service offering buckets of immutable objects with strong read-after-write consistency, multi-region durability, and listing of billions of objects.
Given ledger cash entries and bank statement lines, each with an id, a posting day and an amount in cents, match each ledger entry to at most one bank line with the same amount within a date tolerance, preferring the closest date. Return the matched pairs plus the unmatched items on each side.
Given a requests DataFrame (pa_id, member_id, submitted_at) and a status_updates DataFrame (pa_id, status, updated_at), return each prior authorization's latest status as of a given timestamp, the hours to decision for approved or denied cases, and hours open for undecided ones.
Each section of a contract defines some capitalized terms and uses others. Return an order of sections where every section appears after the section that defines each term it uses, preferring the original order, or report the sections involved in a circular definition.
Tell me about a time you learned something outside your immediate area (another domain, team, or discipline) and applied it to improve your product or process.
Write functions that convert spreadsheet column letters to a zero-based index and back, then parse a reference like `$B$3` or a range like `C5:A1` into normalized row and column bounds.
Return the maximum width over all levels of a binary tree, where a level's width is the distance between its leftmost and rightmost non-null nodes, counting the null slots between them as if the tree were complete.
Given sign-in events of the form (user, timestamp, ip, latitude, longitude), report each pair of consecutive sign-ins for the same user whose implied travel speed exceeds a threshold such as 900 km/h, while suppressing obvious noise.
Capital One wants to A/B test a redesigned card prequalification page, but the outcome that matters (an approved, activated account) lands two to four weeks after the visit. Design the experiment and decide what to measure and when to call it.
Design the service that receives debit card authorization requests from a card processor and must approve or decline within a strict latency budget, using the member's available balance, any fee-free overdraft headroom, card controls and fraud signals. Explain what happens when a dependency is slow or down.
Implement a fixed-capacity cache for Pin metadata with O(1) get and put that evicts the least frequently used key, breaking frequency ties by evicting the least recently used among them.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.