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 url shortening system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Count the number of minimum cost in the given matrix.
Design a fault-tolerant feed generation system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a fault-tolerant email system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a geo-distributed feature flag system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Given the following scenario about user conversion, calculate the the sample size needed.
Discuss the trade-offs between cross-validation and ensemble methods for anomaly detection.
Given a singly linked list, write a function to determine if the list is balanced. A linked list is considered balanced if the number of nodes in the first half is equal to or one more than the number of nodes in the second half. The function should return a boolean value: true if the linked list is balanced, and false otherwise.
Write a SQL query to calculate engagement score from the products table, considering nulls and duplicates.
Design a real-time image processing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Meta evaluates 'Meta, Metamates, Me' mindset. Describe a time you took on work outside your immediate responsibilities because it was the right thing for the company, and how you balanced it with your core work.
Design a high-throughput file storage system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Discuss the trade-offs between quantization and batch normalization for click-through rate prediction.
Count the number of longest subsequence in the given array.
Design a event-driven caching system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a real-time a/b testing system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Write a query joining sessions and rides to produce the combined time to first action.
Write a query to compute rolling 7-day average grouped by user, handling edge cases like nulls and duplicates.
Design a service to find nearby places, people, or events. Cover geospatial indexing (geohash, quadtree), efficient radius queries, ranking by relevance, and handling location updates at scale.
Design a real-time monitoring system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Get the full picture with our company interview guides.