Discuss
Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.
-
Rippling: Key-value store with begin, commit and rollback
Problem. Implement an in memory store for string keys and values with add, get and delete. Follow up. Add transaction support with begin, commit and rollback. Gets, puts and delete
-
Dream11: Real-time metrics monitoring platform, plus a database built on bare VMs
Problem. Design a real time monitoring system in the spirit of a metrics and dashboards stack: services push metrics, the system ingests them, aggregates them over time windows and
-
Swiggy: Cab booking system: riders, drivers, allocation and trip status
Problem. Design a cab booking system at the class level. Entities expected. Rider, Driver, Cab and Trip. Core flows. A rider books a ride The system assigns an available driver to
-
PharmEasy: Design a feature flag service with targeting rules
Problem. Design a reusable feature flag toggle service. Product owners create flags and attach targeting rules that can be complex. Client apps ask, in real time, which features ar
-
Informatica: Two threads printing odd and even numbers in order
Problem. Start two threads. One prints odd numbers and the other prints even numbers, and together they must print 1, 2, 3, 4 and so on in order. Context. It came in a round that a
-
PharmEasy: Build a working digital wallet in 75 minutes
Problem. In 75 minutes, build a fully working digital wallet application in the style of popular payment wallets, with proper entities and classes rather than a single script. Cont
-
Akamai: Keep only the odd values of a linked list
Problem. Given a linked list, return a new list that holds only its odd values. For 1 2 3 4 5 6 7 8 the answer is 1 3 5 7. Follow ups. Time and space complexity, then how things ch
-
Citadel: Running median with insert and findMedian
Problem. Design a structure with two operations: insert an integer, and return the median of everything inserted so far. Expected path. Start with a list that is sorted when asked,
-
Flipkart: Executable e-commerce billing engine with discounts and loyalty levels
Problem. Build a small but fully runnable billing module for an online store. It has to compute the bill for an order, apply discounts, and run a loyalty scheme where customers ear
-
Flipkart: Map each word to every way it can be built from other words in the list
Problem. You get a list of words. Return a map whose keys are the words that can be made by joining two or more other words from the same list. Each value lists every combination o
-
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
-
Expedia Group: API to decide whether a product can be delivered to a pincode in two days
Prompt. Design an API that, given a product and a delivery postal code pincode , says whether the product can arrive within two days. Points the discussion covered Core check: vali
-
Booking.com: Spring Boot service: hotel CRUD plus three nearest hotels to a city
Setup. A ready made Spring Boot project with an in memory H2 database already filled with data. JPA entities and repositories for Hotel and City exist, and both tables store latitu
-
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
-
Razorpay: Mini search engine: add/remove documents, AND-query words, search by tag
Problem. Build a small document search system. Requirements. 1. Add and remove documents plain strings are fine 2. Given a query, efficiently return every document that contains al
-
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
-
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
-
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
-
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