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
Design a multi-tenant task scheduling system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a query joining events and transactions to produce the combined time to first action.
How would you improve LinkedIn Learning for power users? Walk through your product thinking process.
Write a SQL query to calculate retention rate from the events table, considering nulls and duplicates.
Given a weighted, undirected graph represented as an adjacency list, implement an algorithm to find the shortest distance between two specified nodes. Your solution should return the shortest distance as an integer, or -1 if there is no path between the nodes.
Design a fault-tolerant search system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design an end-to-end ML system for anomaly detection, covering data collection, feature engineering, model selection, training, and serving.
Design a distributed analytics system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a multi-tenant load balancing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Convert the given array to sorted result following the specified rules.
How would you improve ChatGPT for power users? Walk through your product thinking process.
Design a distributed a/b testing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Implement a Segment Tree in-place that allows for efficient range queries and updates. Your implementation should support operations such as querying the sum of elements in a given range and updating the value of a specific element, all while using minimal additional space. The input will consist of an array of integers and a series of queries, and the output should return the results of the range queries.
Given an array of integers, count the maximum number of distinct paths that can be formed by moving from the first element to the last element, where you can only move to adjacent elements. The output should be a single integer representing the count of such maximum paths.
Given k sorted grids, merge them into a single sorted result.
Design a multi-tenant caching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design an end-to-end ML system for image classification, covering data collection, feature engineering, model selection, training, and serving.
Design the architecture for LinkedIn Messaging. Cover scalability, data storage, caching, and real-time requirements.
Implement a Segment Tree data structure that supports get and put operations in O(1) time.
Design a distributed task scheduling system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Get the full picture with our company interview guides.