Real Coding & ML Interview Questions
3,680 reported questions, newest reports first. Browse by company or by topic.
- Classifier AnalysisOpenAIML Fundamentals & AlgorithmsDifficulty 3/5Last asked Nov 7, 2025
- Two-Team Turn-Based Battle SimulatorOpenAICoding QuestionsDifficulty 3/5Last asked Jun 29, 2026
- Clean Noisy Human Labels by Scoring Annotator ReliabilityOpenAIML Fundamentals & AlgorithmsDifficulty 3/5Last asked Oct 28, 2026
- Backward Pass of a Row-Sharded MLP with all_gatherOpenAIDeep Learning & ArchitecturesDifficulty 4/5Last asked Aug 9, 2026
- Debug a Mini GPT and Add a KV CacheOpenAIDeep Learning & ArchitecturesDifficulty 4/5Last asked Jun 9, 2026
- LLM conceptual questionsOpenAIAmazonAppleResearch & Paper UnderstandingDifficulty 3/5Last asked Jun 29, 2026
- Toy Language Type SystemOpenAICoding QuestionsDifficulty 3/5Last asked May 26, 2026
- Grid Infection and Immunity SimulationOpenAICoding QuestionsDifficulty 4/5Last asked Jun 29, 2026
- Earliest Supporting Version with a Probe BudgetOpenAICoding QuestionsDifficulty 3/5Last asked May 8, 2026
- Time-Based Key-Value StoreOpenAICoding QuestionsDifficulty 3/5Last asked Oct 19, 2025
- Applied Stats: Distributed Averaging Under Noisy CommunicationOpenAIML Fundamentals & AlgorithmsDifficulty 4/5Last asked Dec 15, 2025
- Resumable IteratorsOpenAICoding QuestionsDifficulty 4/5Last asked Aug 17, 2025
- Binary Classifier from Next-Token ProbabilitiesAnthropicLLMs & Prompt EngineeringDifficulty 3/5Last asked Nov 11, 2025
- ML Debugging (Transformer)OpenAIDeep Learning & ArchitecturesDifficulty 4/5Last asked Mar 20, 2026
- Count and Map a Machine Tree by Message PassingOpenAICoding QuestionsDifficulty 3/5Last asked Nov 16, 2025
- IPv4 Iterators and CIDR BlocksOpenAICoding QuestionsDifficulty 3/5Last asked Nov 15, 2025
- Mine Training Data from Noisy UI Interaction LogsOpenAISystem Design for MLDifficulty 4/5Last asked Nov 2, 2025
- Chatbot Code RefactoringOpenAISystem Design for MLDifficulty 3/5Last asked Nov 13, 2025
- Simulating Particle Hits on an Infinite ScreenOpenAIML Fundamentals & AlgorithmsDifficulty 3/5Last asked Mar 23, 2026
- Bias-Variance Trade-off in ClassificationCitadel SecuritiesML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jul 14, 2025
- Classify a Float Into One of Two ArraysGoogle DeepMindML Fundamentals & AlgorithmsDifficulty 3/5Last asked Dec 8, 2025
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPyAppleMetaScale AIDeep Learning & ArchitecturesDifficulty 3/5Last asked Jul 13, 2025
- Resumable IteratorOpenAICoding QuestionsDifficulty 3/5Last asked Jul 12, 2025
- Social Network with Immutable Snapshots + Followers Index + RecommendationsOpenAICoding QuestionsDifficulty 3/5Last asked Jun 28, 2026
- Compute Softmax Entropy with Constant Extra SpaceOpenAIML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jun 3, 2026
- Designing a Harmful Content Detection SystemTikTokSystem Design for MLDifficulty 4/5Last asked Jul 12, 2025
- Transformer Block with a Manual Backward PassTeslaDeep Learning & ArchitecturesDifficulty 4/5Last asked Aug 11, 2025
- ML + CS Fundamentals (2)Google DeepMindML Fundamentals & AlgorithmsDifficulty 3/5Last asked Dec 8, 2025
- ML + CS Fundamentals (1)Google DeepMindML Fundamentals & AlgorithmsDifficulty 3/5Last asked Dec 8, 2025
- Design Prompt PlaygroundAnthropicSystem Design for MLDifficulty 3/5Last asked Oct 13, 2026
- Compare PPO, DPO, and GRPOAppleAmazonReinforcement LearningDifficulty 4/5Last asked Jul 13, 2025
- CI/CD Job Scheduler Design using Kubernetes and DockerOpenAISystem Design for MLDifficulty 4/5Last asked Jun 11, 2026
- Dynamic Batch InferencexAILLMs & Prompt EngineeringDifficulty 3/5Last asked Dec 28, 2025
- Crossword Puzzle SolverOpenAISystem Design for MLDifficulty 4/5Last asked Jan 5, 2026
- Print a Matrix in Diagonal OrderGoogle DeepMindCoding QuestionsDifficulty 2/5Last asked Dec 8, 2025
- Generate a Random Number Given Probability DistributionGoogle DeepMindCoding QuestionsDifficulty 3/5Last asked Dec 8, 2025
- Distributed Machine Cluster CountOpenAICoding QuestionsDifficulty 3/5Last asked Jun 19, 2026
- Balanced Tag-Pair SequenceOpenAICoding QuestionsDifficulty 2/5Last asked Apr 19, 2026
- K-Means Clustering on Image PatchesTeslaDeep Learning & ArchitecturesDifficulty 3/5Last asked Jul 12, 2025
- GPU Credit Ledger with Expiring GrantsOpenAICoding QuestionsDifficulty 3/5Last asked Jul 21, 2026
- Parallel Batch Image Transformation PipelineAnthropicML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jun 26, 2026
- Streaming Entropy (Numerical Stability + Online Accumulation)OpenAICoding QuestionsDifficulty 3/5Last asked Jun 22, 2026
- Disagreeing With a Technical DecisionAnthropicResearch & Paper UnderstandingDifficulty 3/5Last asked Jun 26, 2026
- Design a GPU Scheduling PlatformOpenAIAnthropicSystem Design for MLDifficulty 4/5Last asked Jun 30, 2026
- Implement a Vision Transformer (ViT) from ScratchApplied IntuitionAppleDeep Learning & ArchitecturesDifficulty 3/5Last asked Nov 2, 2025
- Autograd / Manual Backprop + Hillis-Steele ScanOpenAICoding QuestionsDifficulty 3/5Last asked May 31, 2026
- Recover x from a Monotonic Function OutputGoogle DeepMindCoding QuestionsDifficulty 3/5Last asked Dec 8, 2025
- Dot Product with Run-Length Encoded VectorsMetaCoding QuestionsDifficulty 3/5Last asked Jul 13, 2025
- NumPy Puzzle: 1-NN Vectorization β Wx+b NetworkOpenAICoding QuestionsDifficulty 3/5Last asked May 20, 2026
- Async Comparator for Answer RankingxAILLMs & Prompt EngineeringDifficulty 3/5Last asked Jul 14, 2025
- In-Memory Rate LimiterOpenAICoding QuestionsDifficulty 3/5Last asked Apr 22, 2026
- Maximum of a Bitonic ArrayGoogle DeepMindCoding QuestionsDifficulty 3/5Last asked Nov 15, 2025
- Prompt samplingReflection AIML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jul 3, 2026
- Math Reasoning: Stopping Time / Las Vegas AlgorithmOpenAICoding QuestionsDifficulty 4/5Last asked May 31, 2026
- LLM Fundamentals: Quantization, FlashAttention, ParallelismCitadelMLOps & DeploymentDifficulty 3/5Last asked Jan 8, 2026
- Agents / Coding with LLMsAnthropicLLMs & Prompt EngineeringDifficulty 4/5Last asked Jun 29, 2026
- Sample from a Gaussian Distribution Using Only Uniform SamplingAppleML Fundamentals & AlgorithmsDifficulty 2/5Last asked Jul 11, 2025
- Implement Beam Search for Language Model DecodingNVIDIALLMs & Prompt EngineeringDifficulty 3/5Last asked Jul 12, 2025
- Implement a Unix-like `cd` Command (with Symlink Follow-up)OpenAICoding QuestionsDifficulty 4/5Last asked Dec 27, 2025
- CAP Theorem in Distributed SystemsGoogle DeepMind1XSystem Design for MLDifficulty 3/5Last asked Dec 8, 2025
- Design ChatGPT: A Conversational LLM Serving PlatformOpenAIAnthropicxAISystem Design for MLDifficulty 4/5Last asked Jul 21, 2026
- Probability of Staying Dry with One UmbrellaCitadel SecuritiesML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jul 14, 2025
- Crash-Resilient LRU Memoization CacheAnthropicCoding QuestionsDifficulty 3/5Last asked Oct 13, 2026
- Data Labeling Task SchedulerOpenAICoding QuestionsDifficulty 3/5Last asked May 31, 2026
- System Design: Chess GameOpenAISystem Design for MLDifficulty 3/5Last asked Jun 26, 2026
- Implement an in-memory TTL cache (optionally LRU)OpenAICoding QuestionsDifficulty 3/5Last asked Apr 22, 2026
- Efficient TokenizerPerplexityLLMs & Prompt EngineeringDifficulty 4/5Last asked Jan 6, 2026
- Deduplicate FilesAnthropicCoding QuestionsDifficulty 3/5Last asked Jun 23, 2026
- Code Reading β 400-line PyTorch RefactorOpenAICoding QuestionsDifficulty 3/5Last asked Mar 9, 2026
- DNA Fragment Chain ReconstructionMicrosoft AICoding QuestionsDifficulty 3/5Last asked Nov 24, 2025
- Implement Masked Cross Entropy Loss with Label SmoothingOpenAIML Fundamentals & AlgorithmsDifficulty 3/5
- LLM Questions: Training Systems, Hardware, and ScalingCitadelMLOps & DeploymentDifficulty 3/5Last asked Jan 8, 2026
- Design a Hosted ML Notebook PlatformOpenAISystem Design for MLDifficulty 4/5Last asked Feb 1, 2026
- Convert Stack Samples to Trace EventsAnthropicCoding QuestionsDifficulty 3/5Last asked Jun 17, 2026
- Web Crawler with URL NormalizationAnthropicCoding QuestionsDifficulty 3/5Last asked May 3, 2026
- In-Memory Banking SystemAnthropicCoding QuestionsDifficulty 4/5Last asked Jun 15, 2026
- Simulate the cd CommandOpenAICoding QuestionsDifficulty 3/5Last asked Apr 19, 2026
- ModalLock and FairModalLockOpenAICoding QuestionsDifficulty 4/5Last asked Mar 30, 2026
- Distributed Device ControlOpenAISystem Design for MLDifficulty 4/5Last asked Aug 19, 2026
- Combining Disjoint OLS Regressions and Efficiently Updating the Model with New VariablesAquaticML Fundamentals & AlgorithmsDifficulty 4/5Last asked Nov 2, 2025
- MDP Value Iteration and Policy IterationTeslaReinforcement LearningDifficulty 3/5Last asked Nov 2, 2025
- Design a GPU Inference Serving SystemAnthropicNVIDIASystem Design for MLDifficulty 4/5Last asked Jun 21, 2026
- Layer NormalizationTikTokML Fundamentals & AlgorithmsDifficulty 3/5Last asked Dec 3, 2025
- Implement Inference with Probability Using NumPyOpenAICoding QuestionsDifficulty 3/5
- Walk Me Through Your Most Technically Complex ProjectAnthropicML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jun 23, 2026
- Design Model Weight DistributionAnthropicSystem Design for MLDifficulty 3/5Last asked Jun 17, 2026
- In-memory databaseAnthropicCoding QuestionsDifficulty 3/5Last asked May 10, 2026
- Count Lakes Wrapped by a Given IslandMetaCoding QuestionsDifficulty 3/5Last asked Jul 13, 2025
- Reproduce Double Descent in Linear RegressionOpenAIML Fundamentals & AlgorithmsDifficulty 3/5
- Compute the Distribution of LLM Decoding Stopping Time and Build a Strategy Against AdversariesOpenAILLMs & Prompt EngineeringDifficulty 4/5
- Find the Incorrect Data LabelerOpenAICoding QuestionsDifficulty 3/5
- Cloud Storage SystemAnthropicCoding QuestionsDifficulty 3/5Last asked Mar 29, 2026
- Design a Distributed Training Platform for Foundation ModelsOpenAISystem Design for MLDifficulty 4/5Last asked Jun 30, 2026
- Best Time to Buy and Sell Stock with at Most k TransactionsOptiverCoding QuestionsDifficulty 4/5Last asked Aug 5, 2025
- Implement and Debug a Minimal Neural Network Training Loop (PyTorch)OpenAICoding QuestionsDifficulty 3/5
- Streaming GPU Task Scheduler and Idle Interval QueryFireworks AIMLOps & DeploymentDifficulty 3/5Last asked Jun 19, 2026
- Game of LifexAICoding QuestionsDifficulty 3/5Last asked Mar 29, 2026
- REST API Integration and AggregationStripeCoding QuestionsDifficulty 3/5Last asked Jun 30, 2026
- Implement a Nested Tic-Tac-Toe Game EngineGoogleCoding QuestionsDifficulty 3/5Last asked Dec 4, 2025
- Design a Grounded AI Chatbot AppOpenAISystem Design for MLDifficulty 4/5Last asked Mar 22, 2026
- Minimum Remove to Make Valid ParenthesesMetaCoding QuestionsDifficulty 3/5Last asked Aug 10, 2025
- Memory AllocatorOpenAICoding QuestionsDifficulty 4/5Last asked Jun 11, 2026
- Design a Distributed AI Model DownloaderAnthropicSystem Design for MLDifficulty 4/5Last asked Jun 30, 2026
- Shortest Item-to-Item Travel Distance Across PinsPinterestCoding QuestionsDifficulty 3/5Last asked Nov 20, 2025
- ML Take-Home: 4-Hour Experiment plus Live ReviewAnthropicResearch & Paper UnderstandingDifficulty 4/5Last asked Apr 28, 2026
- Shard Rebalance / Overlapping Key RangeOpenAICoding QuestionsDifficulty 3/5Last asked Jun 26, 2026
- Cell Simulation / Conwayβs Game of LifeOpenAICoding QuestionsDifficulty 3/5
- Message Event Aggregation in a 5-Minute Sliding WindowOpenAICoding QuestionsDifficulty 3/5Last asked Oct 26, 2026
- Durable Key-Value Store SerializationOpenAICoding QuestionsDifficulty 3/5Last asked Oct 13, 2026
- ML Fundamentals Deep Dive (AI/ML & MLE Roles)GoogleML Fundamentals & AlgorithmsDifficulty 4/5Last asked Jun 26, 2026
- In-Memory Database with SQL OperationsOpenAICoding QuestionsDifficulty 3/5Last asked Nov 7, 2025
- Time-Aware Social Network Follow Graph with RecommendationsOpenAICoding QuestionsDifficulty 4/5
- Implement an in-memory key-value store with time-travel (versioned snapshots)OpenAICoding QuestionsDifficulty 4/5
- OpenSheet: Spreadsheet with Cell DependenciesOpenAICoding QuestionsDifficulty 3/5Last asked Nov 21, 2025
- IP Address / CIDR IteratorOpenAICoding QuestionsDifficulty 3/5Last asked May 15, 2026
- LLM with Beam Search and Nucleus Sampling (Meta MSL)MetaLLMs & Prompt EngineeringDifficulty 4/5Last asked Apr 11, 2026
- ML Fundamentals and Model Debugging Rapid-FireAppleML Fundamentals & AlgorithmsDifficulty 3/5Last asked Jun 10, 2026
- K-th Element on a Streaming Time WindowxAICoding QuestionsDifficulty 3/5Last asked Jan 14, 2026
- Distributed Matrix Multiplication β DP and FSDPxAICoding QuestionsDifficulty 4/5Last asked Apr 4, 2026
- Design an AI Prompt PlaygroundAnthropicSystem Design for MLDifficulty 4/5Last asked Jun 26, 2026