Discuss
Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.
-
Microsoft: Job orchestrator that blocks overlapping runs of the same job
Problem. Design a job scheduler and orchestrator. It supports n different job types. Every time a job is requested, the system hands back a unique run id for that execution. For so
-
CRED: Flight booking with per-seat pricing and no double sale across resellers
Problem. In a two hour onsite, lead the design of a flight booking platform from scratch. Areas covered. 1. Functional and non functional requirements, scope and assumptions 2. Dom
-
Tekion: Design a URL allow/block filtering service
Problem. Build a service that decides whether a given URL should be allowed or blocked. What happened. The candidate used a structured framework, gave a basic design and went into
-
Optum: Live build: clean a dataset, serve it by API, containerise it
Role. Data engineer. Task. You get a raw dataset during the interview and must, live: 1. Clean and preprocess the data. 2. Expose the cleaned data through an API endpoint. 3. Write
-
Shopify: Rover controller: turns, moves, multiple rovers, then collision checks
Base task. Build a controller for a rover that starts at 0, 0 facing north. It accepts three commands: turn left, turn right, and move forward one step. After every command it repo
-
Bloomberg: Lottery pool with O(1) add, remove and uniform random pick
Problem. Design a LotterySystem class with these operations: addParticipant id : add a participant with a unique id. Return true on success, false if the add fails for example, the
-
Swiggy: Shopping cart with checkout and pluggable discount rules
Problem. Design a shopping cart. A user adds items, pays, and has discounts applied. Discounts can work in several different ways, for example different rule types. More features w
-
Stripe: Apply ordered commands to entities with valid state transitions only
Problem. Simulate a system that holds several kinds of entities. You receive an ordered list of commands. Each command tries to move some object from one state to another. Apply th
-
Grammarly: Remove adjacent duplicates chosen by a predicate
Problem. Start with the classic task: repeatedly remove pairs of equal adjacent characters from a string until none remain. Then generalise it: removal is decided by a function or
-
Airbnb: Pairs of listings that together cover a split stay
Problem. There are n hotels, and each one has a list of the dates it is free. A guest asks for a date range from a start date to an end date. Split that range into two back to back
-
Uber: In-memory shell with mkdir, cd, ls and pwd
Problem. Implement the core of a Linux style file system shell in memory, supporting commands such as mkdir to create a directory, cd to move between directories, ls to list conten
-
Accenture: Largest element that is greater than everything to its right
Problem. Given an array of integers, find the largest element such that every element to its right is strictly smaller than it, a variant of the classic array leaders idea. Context
-
Palantir: Round-robin scheduler built from a hash map and lists
Problem. In the technical interview for a new grad role, the first question was to design and code a round robin system: hand out turns or work to a set of participants in rotation
-
Spotify: All combinations of song durations that fill an exact playlist length
Problem. You get a list of song durations and a target playlist length. Return every combination of songs whose durations add up exactly to the target. Example illustrative . Durat
-
Zeta: Ride-sharing app with concurrency follow-ups
Problem. In a timed machine coding round, build a working ride sharing app where users offer rides and others take them, similar to carpool apps. What was expected. A runnable solu
-
Google: Count the ways to spell a word using chemical element symbols
Problem. You get the periodic table, meaning the set of element symbols one or two letters, such as H, C, Si, Cs , and a single word. Count how many different ways the word can be
-
Google: Earliest live timestamp in a deduplicated message stream
Problem. Messages arrive one by one, each carrying a timestamp. A message stays valid for 10 seconds after its timestamp. If the same message shows up again while an earlier copy i
-
Coupang: Count subsequence matches with no two adjacent picks
Problem. Given a source pattern and a target string, count the ways to pick characters of the target, in order, that spell the source, with the rule that two neighbouring character
-
Apple: Roll out replica updates evenly while keeping groups healthy
Problem. The round was built around a replica management system. There is a replica class with fields such as region, id and the replica group it belongs to, plus APIs to check whe
-
Coupang: In-memory file system with append and sorted listing
Problem. Implement a file system interface with these operations: Create a directory. Write to a file: create it with the content if missing, otherwise append the content. Read cat