Discuss
Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.
-
Capital One: Reply threads for a team chat app
Problem. Design the backend for message threads in a team chat app. A user can reply to one message in a channel, and the replies live in a side thread so the main channel feed sta
-
Anduril: Implement a doubly linked list with insert, delete and search
Problem. Design and code a doubly linked list class with insert, delete and search. Follow ups. Handle inserts at the head, at the tail and in the middle. Refactor the first versio
-
Rakuten: Traffic light component with a timed cycle
Problem. Build a traffic signal component in React with TypeScript. Rules given. 1. The lights switch every 2 seconds. 2. After each 6 seconds of switching, pause for 4 seconds, th
-
Scale AI: Debug an LLM service that returns no output
Problem. You are handed a small codebase, roughly 150 to 200 lines, that calls a model but never returns its output. Find out why. What the candidate found. The bug sat in the prom
-
Scale AI: Design an LLM agent backend for insurance claims
Problem. Design the backend for an agent that takes in insurance claims and makes decisions on them. Areas the interviewer wanted covered. Retrieval augmented generation to pull th
-
Anduril: Arrange two teams for a photo, short in front and tall behind
Problem. Two teams line up for a photo in two rows. Every player in the back row must be taller than the player standing in front of them. Decide how to order the players so this w
-
Tekion: Build an in-memory file system with cp, mv, mkdir and pwd
Problem. In 45 minutes, design and fully implement a file management system that supports these commands: cp copy , mv move , mkdir make a directory and pwd print the current direc
-
Zomato: Suggest a new dish price between the 1/3 and 2/3 points of past prices
Problem. You get the prices of a merchant's existing dishes. Suggest a price for a new dish that is higher than the value at the one third position of the price distribution and lo
-
American Express: Design a payment gateway with retries and idempotency
Problem. Design a payment gateway. Areas the interviewer pushed on. Retrying failed calls safely. Handling failures at each step. Idempotency so a payment is never applied twice. I
-
Zomato: Schema to cap a banner at X views per Y hours across Z windows
Problem. Design a schema and an approach for frequency capping a banner. Each user should see it at most X times within a window of Y hours, and the rule repeats for Z such windows
-
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
-
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
-
Societe Generale: Integer stack in C++, then a generic one with templates
Problem. Implement a stack of integers in C++ with proper handling of edge cases. Follow up. Turn it into a generic stack using templates so it works for any element type. Context.
-
Virtusa: Print a matrix in spiral order
Problem. Given a 2D array, print its elements in spiral order, starting at the top left and moving clockwise toward the centre. Context. It was the third of four problems in a camp
-
Standard Chartered: Minimum edge reversals so every node is reachable in a tree
Problem. You get a tree whose edges have directions. Work out the minimum number of edges to reverse so that every node can be reached from a starting node. It was the harder of tw
-
Nagarro: Count derangements of n items
Problem. Count the number of ways to arrange n items so that no item ends up in its original position. Context. This was the hardest of three problems in the fresher coding test, a