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 high-throughput logging system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a query joining sessions and messages to produce the combined time to first action.
Given an array, write a function to determine if it is symmetric, meaning it reads the same forwards and backwards. The function should take an array of integers as input and return a boolean value: true if the array is symmetric and false otherwise.
Discuss the trade-offs between batch normalization and quantization for video recommendation.
Use the STAR method to answer. Be specific about the situation at Oracle, your actions, and measurable outcomes.
Design a low-latency ad serving system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Use window functions to compute running total partitioned by user_id.
Design a high-throughput chat system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed recommendation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Your model shows high variance. Walk through your debugging process and potential fixes.
Design a low-latency task scheduling system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a SQL query to calculate average revenue from the transactions table, considering nulls and duplicates.
Design an end-to-end ML system for click-through rate prediction, covering data collection, feature engineering, model selection, training, and serving.
Implement a deque (double-ended queue) data structure that supports the following operations in O(1) time: insert and delete elements from both the front and the back. Your implementation should handle operations efficiently without using any additional space beyond the necessary storage for the deque elements. The input will consist of a series of operations, and the output should reflect the state of the deque after each operation.
Design a scalable payment system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed in-memory caching system like Memcached. Cover consistent hashing, cache eviction policies, replication strategies, and handling cache stampedes. This is a common Meta E6+ infrastructure question.
Design a low-latency ride matching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a scalable video streaming system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given a reference to a node in a connected undirected graph, return a deep copy of the graph. Tests graph traversal and hash map usage, a recurring Meta interview question.
Given a interval list, find the longest subsequence efficiently using DFS.
Get the full picture with our company interview guides.