Topic
Machine Learning interview problems
Modeling, evaluation, ML systems and LLM engineering. 510 original problems, each with a worked model answer.
27 easy273 medium210 hard
Showing 451–480 of 510 results
Demonstrate understanding of fundamental ML/DL concepts through precise definitions, mathematical formulations, and practical examples.
Model answerfundamentalsdeep-learningtheorymathematicsBuild a document processing pipeline that calls two ML services (classification and embedding) for both single-file and bulk uploads up to 1,000 files.
Model answerML System DesignAPI DesignScalabilityService OrchestrationDesign and evaluate a simple collaborative filtering system that recommends songs to users of a music playlist application.
Model answerrecommendation systemscollaborative filteringmatrix factorizationevaluation metricsDesign a complete ML training system for forecasting, covering data handling, training infrastructure, serving, and monitoring with emphasis on temporal correctness.
Model answerml-systemstime-seriesmlopstraining-infrastructureBuild a model to forecast hourly demand at individual stations in a bike-sharing network, handling time-series structure, censored observations, and overfitting risks.
Model answertime-seriesfeature-engineeringoverfittingdemand-forecastingDesign an enterprise conversational system that answers questions from a curated knowledge base with citations, handles multi-turn dialogue, and escalates when uncertain.
Model answerragnlpconversational-aiinformation-retrievalBuild a low-latency pipeline that continuously updates driver ETAs using only GPS pings and trip events, handling noisy location data and grid transitions.
Model answerml-system-designstreaminggpsreal-timeEvaluate cross-sectional equity signals using correlation metrics, detect temporal data leakage, and design validation frameworks that prevent overfitting.
Model answerquantitative-financetime-seriesvalidationoverfittingContrast PCA and autoencoder approaches when features far outnumber samples, considering training stability, manifold complexity, and evaluation rigor.
Model answerdimensionality-reductionpcaautoencoderscurse-of-dimensionalityDesign a complete ML pipeline to predict which users will buy after receiving a promotional message, handling causality, cold starts, and production deployment.
Model answerpropensity-modelingcausal-inferenceproduction-mlcalibrationDesign an end-to-end ML system that predicts next-day stock returns from news sentiment and price data, covering features, model choice, backtesting, and drift monitoring.
Model answertime-seriesfeature-engineeringbacktestingconcept-driftDesign a time-series CV splitter for panel data that prevents entity leakage across train/test sets using an embargo period and supports geographic holdout folds.
Model answercross-validationtime-seriespanel-dataleakage-preventionDesign an ML system to classify and filter harmful user-generated content across text, images, and video at high throughput with strict latency constraints.
Model answerml-system-designmultimodalcontent-moderationproduction-mlDesign a complete ML pipeline to classify payment fraud in under 100ms, addressing delayed labels, streaming features, class imbalance, and cost-aware decisions.
Model answerfraud-detectionreal-time-mlimbalanced-classificationfeature-engineeringDesign an ML pipeline to predict residential property values for mortgage lending, addressing bias, temporal validation, and regulatory requirements.
Model answerfairnessregressionfeature-engineeringmodel-validationDesign and implement a complete machine learning pipeline to predict a binary medical outcome from tabular patient data.
Model answerclassificationfeature-engineeringhealthcaremodel-evaluationExplain dimensionality reduction, preprocessing choices, backpropagation mechanics, threshold tuning, and domain-constrained modeling in a classification context.
Model answerdimensionality-reductionpreprocessingoptimizationclassificationDesign an online experiment to measure the causal impact of a new ML ranking model, handling interference, novelty effects, and metric trade-offs at scale.
Model answermachine learningexperimentationrankingcausal inferenceDesign and evaluate a classifier to identify malicious URLs given limited labeled examples and severe class imbalance.
Model answerclassificationimbalanced-datafeature-engineeringmodel-evaluationBuild a system that selects which drivers to alert during sudden demand increases at high-traffic locations, balancing response speed with market stability.
Model answerrankinguplift-modelingfeature-engineeringDesign and validate an email recommendation feature that sends product suggestions after checkout, focusing on incremental profit and customer experience.
Model answerrecommendation-systemsexperimentationproduct-metricscustomer-lifecycleDesign a complete ML pipeline for severely imbalanced classification, including temporal splitting, calibration, threshold selection, and drift monitoring.
Model answerimbalanced-classificationcalibrationtemporal-validationpipeline-designDesign a production machine learning system that suggests optimal nightly prices for vacation rental hosts based on demand forecasting and price elasticity.
Model answerpricingdemand-forecastingreinforcement-learningcausal-inferenceDesign a Bayesian bandit with delayed feedback, churn protection, and rollback rules; compare regret to fixed-split testing under real-world constraints.
Model answerbanditsbayesian-inferenceexperimentationonline-learningDerive the ELBO objective for VAEs, explain gradient estimation through reparameterization, compute the KL term analytically, and diagnose posterior collapse.
Model answergenerative-modelsvariational-inferencedeep-learningDesign an ML system that orders products by relevance for marketplace search, covering objective definition, training data, features, model architecture, and evaluation.
Model answerrankinge-commercemulti-task-learningposition-biasBuild a model to optimize fundraising campaigns by predicting donation likelihood and amounts, then create profit-driven policies for different outreach channels.
Model answerpredictive-modelinguplift-modelingcalibrationcausal-inferenceDesign an ML pipeline to identify misleading content on a social platform, covering feature engineering, modeling strategy, evaluation, and production concerns.
Model answerclassificationfeature-engineeringproduction-mlevaluation-metricsArchitect a question-answering pipeline over confidential documents with strict access controls, verifiable citations, version handling, and hallucination prevention.
Model answerragmlopsinformation-retrievalsecurityBuild an ML platform to forecast which users will remain active next week, supporting both batch predictions for millions of users and low-latency individual queries.
Model answerml-system-designfeature-engineeringmodel-servingscalability