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 the system that powers Cursor's Background Agents, which perform multi-step coding tasks autonomously. Cover task planning, execution sandboxing, progress reporting, and human-in-the-loop checkpoints.
Index billions of pages with crawl scheduling, politeness controls, duplicate detection, content extraction, and freshness policies.
Implement a CreditTracker with add_credit, subtract_credit, and check_credit methods. Handle thread-safety for concurrent access.
Design the backend infrastructure for a collaborative design editor where multiple users can simultaneously edit the same canvas with real-time conflict resolution.
Implement a key-value store that supports get, put, and automatic expiration of entries after a specified time-to-live (TTL).
Explain causal inference in simple terms and provide a concrete example.
Design a merchant-facing SDK and backend that allows e-commerce platforms to integrate Affirm BNPL at checkout with minimal engineering effort. Cover the JavaScript widget, server-side APIs, and webhook notifications.
Write a SQL query to calculate churn rate from the products table, considering nulls and duplicates.
Given an unsorted array of integers, write a function to find the kth largest element in the array. The function should take the array and an integer k as input and return the kth largest element. You may assume that k is always valid, and the array has at least k elements.
Discuss the trade-offs between dropout and cross-validation for content recommendation.
Design a geo-distributed chat system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Describe a project that required coordination across multiple teams, and explain how you navigated dependencies, misaligned priorities, and communication challenges.
ByteStyle value: Champion Diversity and Inclusion. Share an experience working across cultural boundaries, especially US-China team dynamics.
Write a query joining orders and transactions to produce the combined retention rate.
Design a low-latency messaging system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a system that applies LLM-generated code edits to files as tokens stream in. Handle partial edits, syntax validation, user interruption, and rollback when the generation goes wrong.
Discuss the trade-offs between RLHF and knowledge distillation for image classification.
Design a multi-tenant email system that handles millions of requests. Discuss trade-offs in consistency, availability, and performance.
Design a system that scans code repositories, cloud configurations, container images, and runtime environments for exposed secrets like API keys, passwords, and certificates across thousands of tenants.
Given a grid, find the connected components efficiently using Greedy.
Get the full picture with our company interview guides.