Interview questions
Find a company or topic. Read the sources, then practice.
Loading the question library…
Find a company or topic. Read the sources, then practice.
Loading the question library…
Showing 376–400
Given two lists of floating point values representing player heights for two soccer teams, determine if the photo is 'good' by checking if the players…
Companies: Anduril
Last reported Jul 2026
Design a single-node key-value store that allows users to insert, retrieve, and delete entries by key, as well as list all entries within a specified…
Companies: Harness
Last reported Jul 2026
Design and implement a system that monitors multiple source directories containing candidate data in varying JSON schemas (and potentially XML or other formats). Each folder…
Companies: Eightfold.Ai
Last reported Jul 2026
Plan a round trip between 2 cities with minimum flight cost, given departure and return cost arrays.
Companies: Meta
Last reported Jul 2026
Compute the sum of the primary and secondary diagonals of an n×n matrix, making sure to count the center element only once when n is…
Companies: Amazon
Last reported Jul 2026
Given an array of integers, return the smallest value in the array. Do not use built-in min/max functions.
Companies: Merge
Last reported Jul 2026
Design an allocator for n memory units that supports allocating the leftmost contiguous block of a given size and freeing all units with a given…
Companies: Apple, OpenAI, Roblox
Array · Design · Hash Table · Simulation
Last reported Jul 2026
Given a 2D matrix or dataset, identify and return all values from the first column where the entry starts with the letter 'A'. Handle edge…
Companies: Uber
Last reported Jul 2026
Given a list of digits and a lower bound string of equal length, construct the smallest possible number from those digits that is greater than…
Companies: Airbnb
Last reported Jul 2026
Implement a function that simulates the 'cd' (change directory) command, handling both relative and absolute paths. Handle edge cases such as invalid paths and proper…
Companies: Meta
Last reported Jul 2026
Implement a cursor-based pagination system in TypeScript. The solution should handle efficient data traversal and retrieval using cursor pointers rather than traditional…
Companies: Hex
Last reported Jul 2026
Implement an in-memory hierarchical file system that supports createPath(path, value) — which should succeed only if the immediate parent path exists and the path is…
Companies: Anchorage Digital, Capital One, Google, Uber
Last reported Jul 2026
Given a string, determine whether it reads the same forwards and backwards. Return true if the string is a palindrome, false otherwise.
Companies: Meta
Last reported Jul 2026
Given a sorted (non-decreasing) array, return the starting and ending indices of a target value (or [-1, -1] if it’s not present). The challenge is…
Companies: Amazon, Apple, Meta, NVIDIA +3
Array · Binary Search
Last reported Jul 2026
Build a Notebook React component using the provided scaffolding repository where multiple components share and sync data via a subscription-based API. Components should…
Companies: Hex
Last reported Jul 2026
Given a JSON input containing a user's cart context and a list of promotion rules with conditions (e.g., EQUAL, GREATER_THAN), evaluate which promotions apply and…
Companies: Coupang
Last reported Jul 2026
Implement a banking account system through four stages of increasing complexity. Preserve earlier behavior as each stage adds requirements.
Companies: Airbnb, Anthropic
CodeSignal · Data Structure Design · Incremental Implementation · Progressive Assessment
Last reported Jul 2026
Implement a file store that grows from basic file operations to search and user capacity limits. Practice one final extension at a time: compression or…
Companies: Airbnb, Anthropic
CodeSignal · File & Media Storage · Low-Level Design (OOP) · Progressive Assessment
Last reported Jul 2026
Companies: Anthropic
Data Structure Design · Simulation & State Machines
Last reported Jul 2026
Implement an in-memory database with fields, filtered reads, and values that expire. Then practice a named final extension: historical lookup or backup and restore.
Companies: Anthropic, eBay
CodeSignal · Data Structure Design · Progressive Assessment · State Machines
Last reported Jul 2026
Write a function that calculates how much XRP a customer can buy with a given USD budget. Return the total amount of XRP the customer…
Companies: Ripple
Last reported Jul 2026
Companies: Anthropic
Arrays & Strings
Last reported Jul 2026
Companies: Anthropic
Arrays & Strings · Simulation & State Machines · Stacks & Queues
Last reported Jul 2026
Companies: Anthropic
Parsing & Interpreters · String Algorithms
Last reported Jul 2026
Review a ~70-line merge request of varying complexity and decide whether you would approve it. Identify both obvious and subtle issues that should be addressed…
Companies: Datadog, JPMorgan Chase
Last reported Jul 2026