Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,534 questions · 341 companies · 1,080 reported by candidates
Showing 11,534 results
The question asks the candidate to calculate the number of restricted paths a frog can take on a grid, adhering to specific movement constraints.
Design an online book seller platform that allows users to browse, purchase, and review books.
The question asks the candidate to determine the minimum number of global replacements needed to ensure that each unique value in an array appears in a contiguous block.
The candidate is asked to write a function that finds the largest monotone increasing number less than or equal to a given number.
This question asks the candidate to write a function that calculates the sum of all multiples of three, five, or seven up to a given number.
Design a large-scale polite web crawler that efficiently gathers data from the web while respecting the rules set by websites.
This question asks the candidate to explain how to implement rate limiting in a system while considering constraints like memory usage and throughput capacity.
Design a performant frontend news feed that efficiently displays content to users while maintaining a smooth user experience.
The question asks the candidate to simulate the movement of players in a game environment while being observed by a watcher. The candidate must implement a solution that models this interaction effectively.
This question asks the candidate to devise a solution for querying unique and most-frequent keys from a dataset within a specified recent event window.
The question asks the candidate to implement a solution that filters open restaurants within a specified city range using existing domain APIs.
Design an efficient simulation for a threshold infection model, where an infection spreads through a network based on certain threshold criteria.
The question asks the candidate to compute the distance from a point to a plane and to fit a robust plane to a set of points, demonstrating their understanding of geometric concepts and statistical methods.
Design a system for managing GPU credits that includes granting credits with validity windows, consuming credits at specific times, and querying the balance at any given time.
Design a system that predicts and recommends future best-selling products based on historical sales data and user preferences.
The question asks the candidate to design an algorithm that efficiently finds the median of a data stream, which can include both incoming and existing data points.
Implement stable versions of the sigmoid function, softmax function, and scaled dot-product attention mechanism.
The question asks the candidate to implement a solution that traverses all reachable pages in a web-like structure using parallel Breadth-First Search (BFS).
Explain how to use a fitted line to predict a future data point based on a given dataset.
Design a key-value store that includes functionality for counting hits on each key. Explain how you would implement this system.
Get the full picture with our company interview guides.