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 per-second CPU utilization samples for a virtual machine and a window size k, return the maximum utilization in every contiguous window of k samples in linear time.
Tell me about a time you worked closely with designers and researchers on a feature, and how you kept that collaboration effective while still hitting your date.
Each student needs a Chromebook with at least a given RAM size, and each device can go to one student. Given student needs and device specs, return the maximum number of students who get a suitable device.
X Premium includes prioritized ranking of replies. A PM proposes increasing that boost to drive subscriptions. How would you decide whether to do it, what would you measure, and what would make you say no?
Design a service that ingests benchmark results from thousands of nightly and per-commit runs across compilers, Arm cores and simulators, stores them, detects regressions, and helps engineers bisect them to a commit.
Using an employees table from the HR system and an accounts table synced from integrations like GitHub, AWS and Slack, write SQL that lists every active account belonging to someone offboarded more than a grace period ago, flagging accounts used after the offboarding date.
Sensor readings can be positive or negative, and you want a non-empty subsequence maximizing the sum where consecutive chosen indices are at most k apart. Return the maximum sum.
Make a two sided market on the sum of three fair dice that will be rolled once. After you quote, the first die is revealed as a six: update your market, and explain how you would set the width.
Describe an on-call shift where several high-severity issues arrived at once. How did you decide what to handle first?
Third-party sellers upload price feeds several times a day as separate files. Using pandas, combine the feeds, clean the SKU and price fields, keep only the latest valid price per seller and SKU, and attach catalog titles while dropping SKUs that are not in the catalog.
You are the new analyst on Google Keep. Propose the core engagement metrics for the app and explain why each one matters.
Given a string s and a string t, return the shortest substring of s that contains every character of t with at least the same multiplicity. Return an empty string if no such window exists.
Given voice call records (org_id, start, end) with half-open intervals, compute for each organization the maximum number of simultaneous calls and the earliest time that peak is reached.
Design the pipeline that collects page views, clicks and add-to-cart events from Amazon web and app clients and lands them in an S3 data lake, queryable by analysts within 15 minutes.
Given n, return a list where entry i is the number of 1 bits in the binary representation of i, for every i from 0 to n, in a single linear pass.
Design the orchestration system that runs tens of thousands of daily warehouse pipelines at Meta, starting each task only when its upstream partitions land and supporting large historical backfills.
Design the pipeline that collects crash reports from billions of Facebook and Instagram app installs, symbolicates stack traces, groups them into issues, and alerts the owning team when a new release crashes more.
Given a message body, decide whether it can be encoded in GSM-7 or must fall back to UCS-2, then return how many SMS segments it will be billed as, accounting for extended characters and characters that cannot be split across segments.
The number of emails Gmail users mark as spam doubled overnight. Walk through how you would figure out whether this is an attack, a classifier regression, or something else.
Given DNS query logs as (timestamp, client, domain) rows from a cloud resolver, find client and domain pairs whose queries recur at suspiciously regular intervals, which is a common sign of malware calling home, while ignoring domains that are periodic for benign reasons.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.