Discuss
Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.
-
Zeta: Run API calls with a concurrency limit
Problem. Write a JavaScript function that takes a list of async API calls and a limit n. It must run the calls so that at most n are in flight at any time, starting the next one as
-
Amazon: Longest word built one letter at a time from a word list
Problem. You are given a list of words. Starting from the shortest words, you may grow a word by adding a single character at each step, but every intermediate word you pass throug
-
Microsoft: Distributed LRU cache with constant-time operations and tests
Problem. Design an LRU cache that runs across multiple nodes while keeping get and put at constant time. The round was 75 minutes and mixed high level and low level design. What wa
-
Rubrik: Logical memory unit that caches page entries and returns the k most recent
Problem. Build a logical memory layer that sits between a CPU and physical memory. The CPU asks for a page by its pageId . If the logical unit already holds that page, return it; i
-
Meesho: Inventory holds that auto-release if the order isn't confirmed in time
Problem. In 90 minutes, build an inventory service that can hold stock for an order for a limited time, for example 5 minutes. If the order is not confirmed within that window, the
-
Datadog: React table over a JSON dataset with search and sort
Problem. You are given a JSON dataset. Build a React component that renders it, then extend it with a search box and with sorting. What mattered. The candidate said the task itself
-
Meesho: Multi-device cloud file sync service
Problem. Design a cloud file sync product. A user is signed in on several devices. A file created on one device must upload to the cloud and then appear on every other device. Area
-
Zoho: Task manager app built up over eight incremental steps with file storage
Problem. Design and build a task manager application in eight progressive stages. You start from a basic model of tasks and operations on them, then add persistence using local fil
-
Capgemini: Predict the output: four tricky Java snippets
Format. Screen shared, answers typed in a plain text editor, no IDE. Snippets. Two try catch blocks with Integer comparisons that throw only in some cases: which blocks print? A st
-
Groww: In-memory cache with pluggable eviction policies
Problem. In two hours, build a working cache end to end. The spec was deliberately thin, so the candidate had to state their own assumptions. Required operations: add, contains, in
-
Dream11: Turn a flat CSV of nodes with parent ids into a nested JSON tree
Problem. You get a CSV string where each row is a node with an id and a parentId . Turn it into a hierarchical JSON structure. Any node whose parentId is null is a root. Every othe
-
Bloomberg: Design a stock brokerage app that checks account balance before orders
Prompt. Design a retail stock brokerage app where customers can view their account and place buy orders. The core question is how to accept or reject an order based on the customer
-
Pine Labs: Design a UPI wallet transaction system
Problem. Design the core of a wallet that sends and receives money over UPI. What was expected. The interviewers wanted a written requirements list first and then a database schema
-
Spotify: Traffic light simulation in plain HTML, CSS and JavaScript
Task. Build a working traffic light simulation in the browser using only plain HTML, CSS and JavaScript, with no frameworks. The light should cycle through its states on a timer. W
-
Databricks: Pick the fastest single transport mode across a city grid, ties by cost
Problem. A city is a 2D grid. One cell is the start S , one is the destination D , and cells marked X are roadblocks. Every other cell holds a number from 1 to 4, the transport mod
-
Expedia Group: Maximise workshop productivity from workers with fees under a budget
Problem. You have a pool of workers. Each one has a hiring fee and a productivity value, and there is a fixed total budget for labour. Choose workers to get the highest possible pr
-
Rippling: Delivery driver payout tracker with cleared payments
Problem. Build a class that tracks delivery drivers and what they are owed. It needs three operations: add a driver with an hourly rate, record a delivery with start and end times
-
Rippling: Songs ranked by unique listeners and each user's recent plays
Problem. You get a stream of plays, each a song and the user who played it. Return songs ordered by how many distinct users played them, highest first. Follow up. For each user, re
-
Wayfair: Hotel booking platform over many hotel providers
Problem. Design a hotel reservation platform that pulls rooms from several hotel providers and lets users search and book. Format. A whiteboard round mixing high level and low leve
-
Wayfair: Design a song identification app at very high query rates
Problem. Design an app that listens to a short clip and tells the user which song is playing. Treat the actual matching engine as a black box. Discussion points. Serving a very hig