Instacart Interview Questions
Practice the exact questions companies are asking right now.
Design product catalog service
System Design: Product Catalog Service for an E-commerce Platform Context You are designing the product catalog service for a large consumer e-commerc...
Compute duration and stopping rules correctly
Experiment Runtime Planning: Same‑Day Delivery Attach Rate You are planning an A/B test on the same‑day delivery attach rate (the proportion of eligib...
Implement matrix-indexing and expression resolver
Question Given a text file path whose contents include a single block starting with a line like "[2,4]" followed by rows of equal-length characters (e...
Design scalable inventory system and avoid races
System Design: Scalable, Highly Available Inventory Management Context Design an inventory management system for a high-traffic e-commerce platform th...
Design an inventory system
System Design: Inventory Management with Real-Time Stock and Ordering Context You are designing an inventory management service for a retail/marketpla...
Parse password from indexed matrix file
Question Given a filepath to a text file containing one index line [x, y] followed by a matrix of characters (origin at lower-left (0, 0)), return the...
Compute immediate delivery percentage
Question LeetCode 1173. Immediate Food Delivery I – Write an SQL query to calculate the percentage of immediate (same-day) orders, rounded to two deci...
Analyze A/B test with revenue–cost tradeoffs
A/B Test: Same‑Day Delivery Checkout Change You are evaluating a checkout UI change that promotes same‑day delivery. The experiment is a standard two‑...
Define what you seek next, with trade-offs
Behavioral & Leadership — Role Fit, Trade‑offs, and 90‑Day Fit Check (Data Scientist) Task Articulate what you need to thrive in your next Data Scient...
Pivot order-status counts
Question Given an orders table (order_id, shopper_id, order_date, status, …), pivot the data so that each row is one shopper and each column shows the...
Implement a banking operations system
Implement a simple banking system that manages multiple accounts with initial balances. Support operations: deposit(accountId, amount), withdraw(accou...
Troubleshoot a production incident end-to-end
Incident Troubleshooting: Intermittent Failures and Elevated Latency in Transfers Context A microservices-based banking platform begins experiencing i...
Evaluate dependent variable expressions
Question Given a target variable name and a list of assignment strings of the form 'Ti = expression' where the expression is either a number, a single...
Solve expression evaluator and string decoder
1) Implement an arithmetic expression evaluator that reads expressions from a text file (one expression per line) and outputs the evaluated result for...
Design a scalable inventory system
System Design: Scalable Inventory Management with Real-Time Stock, Reservations, Oversell Prevention, and Backorders Context You are designing the inv...
Compute average customer waiting time
You are given n customer orders; each order i = [a_i, p_i] where a_i is the arrival time and p_i is the preparation time. A single chef processes orde...
Implement timestamped task management system APIs
You are implementing an in-memory Task Management System. All API methods are called with a timestamp representing the logical time when the operation...
Implement bus route simulation features
Bus Route Simulation – Boarding, Capacity, and Priority Passes You are given a partially implemented codebase for simulating bus routes in a city. Bus...
Describe cross-functional collaboration under time pressure
Tell me about a time you led a cross-functional initiative with ambiguous requirements and severe time pressure. The interviewer asked generic or shif...
Recommend and validate a budget allocation strategy
Using insights you would derive from the SQL task (top advertiser by total spend; most profitable program by net profit and by margin), propose a conc...