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 low-latency order processing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a high-throughput recommendation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Use the STAR method to answer. Be specific about the situation at Scale AI, your actions, and measurable outcomes.
Given a string consisting of lowercase letters, each with an associated cost, find the minimum total cost to create a substring that contains all unique characters from the string. The input will be a string and a list of integers representing the costs for each character, and the output should be the minimum cost as an integer.
Design a distributed file storage system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a multi-tenant caching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a SQL query to calculate DAU/MAU ratio from the orders table, considering nulls and duplicates.
Design a multi-tenant data pipeline system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a query joining impressions and events to produce the combined retention rate.
Design a fault-tolerant recommendation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Discuss the trade-offs between diffusion models and transfer learning for entity recognition.
Design a event-driven load balancing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed payment system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given the following scenario about user conversion, calculate the the p-value.
Design an end-to-end ML system for content recommendation, covering data collection, feature engineering, model selection, training, and serving.
Write a SQL query to calculate retention rate from the rides table, considering nulls and duplicates.
Design a high-throughput load balancing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given a linked list where each node may point to other nodes, implement a function to identify and return all connected components in the list. Each connected component is defined as a subset of nodes where each node is reachable from any other node in that subset. The output should be a list of lists, where each inner list contains the nodes of a connected component.
Design a distributed messaging system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a fault-tolerant chat system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Get the full picture with our company interview guides.