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
A shelf scan produces a grid where 1 marks a damaged bin and 0 an intact one. Return the size of the largest group of damaged bins connected horizontally or vertically.
Using a table of Rocket WOW membership signups and an orders table, compute for each signup month the share of new members who placed at least two delivered orders in their first 30 days of membership.
Checkout conversion on the Flipkart Android app dropped from 62% to 54% overnight while iOS and web look flat. Walk through how you would find the cause.
A BCG retail client wants to test algorithmic dynamic pricing on its e-commerce site. Design the experiment, including randomization unit, metrics, and duration.
Design the routing layer that, for each incoming payment, picks which acquiring bank, terminal or UPI PSP to send it to so that success rate is maximised while respecting cost, merchant preferences and bank outages. It must decide within a few milliseconds on the payment path.
Accounts are connected by trust lines, each giving a directed capacity for how much of one issued currency can move from one account to its neighbour. Compute the largest amount a sender can deliver to a receiver by rippling through intermediaries, and how much flows on each line.
Implement a block allocator for a paged KV cache: sequences get fixed-size blocks as they grow, a sequence can be forked to share its blocks (for parallel sampling or beam search), and writing into a shared partial block triggers copy-on-write.
Given an order_items table, compute each seller's weekly GMV rank within its category and return sellers who were in the top 10 the previous week and lost at least three positions this week.
Given an ad spend log (date, advertiser_id, spend), return for each calendar day the number of advertisers who spent for the first time that day, the cumulative number of distinct advertisers ever seen, and the distinct advertisers active that day.
Tell me about a time you were under pressure to ship a quick fix but chose a longer-term solution instead, or found a way to do both.
Given one day's alpha values for a universe of instruments, some missing, return each instrument's rank scaled to [0, 1], giving tied values their average rank and leaving missing values missing.
Given layered notification preferences (global defaults, per-app overrides, per-thread overrides and timed mutes), write a resolver that returns the effective push, email and sound settings for a given app and conversation thread.
A pharmaceutical client has an FDA-cleared app that delivers cognitive behavioral therapy for insomnia. Design the go-to-market plan for its US launch.
Satellites are nodes and laser links are edges with a latency and a list of time windows when the link can start a transmission. Given a source satellite and start time, find the earliest time a packet can reach the destination, allowing it to wait at a satellite.
Tell me about a time a defect you owned hurt customers directly, such as sellers losing sales or being charged incorrectly. How did you respond in the moment, and what did you change afterwards?
Design the service behind 'Your Orders' that lets each customer browse, search, and filter every order they have ever placed, some accounts having tens of thousands of orders over twenty years.
Each road segment between two intersections has a probability that a courier crosses it without a delay. Assuming independence, return the highest probability of an on-time trip from the restaurant node to the customer node, or 0 if unreachable.
Describe a time two people you managed were in persistent conflict, and what you did about it.
Database migrations are named by strings and some must run before others. Given migration names and pairs [a, b] meaning a must run before b, return the lexicographically smallest valid order, or an empty list if no valid order exists.
Given a sequence of orders labeled by cuisine, find the shortest contiguous window that contains at least one order of every distinct cuisine in the sequence, returning its start and end indices.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.