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
Given a nested list of integers, implement a function to flatten the list while optimizing for memory usage, and handle a follow-up requirement where you must also return the depth of the original nested structure. The function should take a list as input and return a tuple containing the flattened list and the maximum depth as output.
Design a scalable chat system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed feed generation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a distributed authentication system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a geo-distributed chat system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a geo-distributed caching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a event-driven feature flag system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Discuss the trade-offs between batch normalization and few-shot learning for document classification.
Design a fault-tolerant ad serving system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a low-latency load balancing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given a string, write a function to count the number of longest subsequences that can be formed from the characters of the string. A subsequence is defined as a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. Your function should take a string as input and return an integer representing the count of the longest subsequences.
Design a geo-distributed search system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a multi-tenant ride matching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a scalable order processing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a event-driven inventory management system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design an end-to-end ML system for sentiment analysis, covering data collection, feature engineering, model selection, training, and serving.
Design a distributed image processing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given a array, find the connected components efficiently using Dynamic Programming.
Design a distributed a/b testing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
How would you improve ChatGPT for power users? Walk through your product thinking process.
Get the full picture with our company interview guides.