Classification Interview Questions
23 interview questions in our bank cover Classification, most of them ML Fundamentals & Algorithms. They average 3.3/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about Classification: Coinbase, Stripe, Shopify, Pinterest, Reddit, and 13 more.
Practice these on the problems board →Companies that ask about Classification
Question mix
- ML Fundamentals & Algorithms11
- System Design for ML8
- Coding Questions4
Difficulty
- 2/5 — easy1
- 3/5 — medium15
- 4/5 — hard7
Classification questions at Coinbase
Baseline Classifier on a Messy Tabular Dataset
3/5A machine learning question on building a leak-free baseline classifier from messy tabular data. It covers data cleaning, splitting, model choice and metrics that suit imbalanced classes.
ML Fundamentals & AlgorithmsCoinbaseImplement K-Means Clustering from Scratch
3/5A machine learning coding question on unsupervised clustering. You implement a from-scratch grouping routine given fixed starting centers, paying attention to tie-breaking, empty groups and a cap on iterations.
ML Fundamentals & AlgorithmsCoinbase
Classification questions at Stripe
Design an Account Takeover Prediction System
4/5Design a machine learning system to predict account takeover risks for a major payment platform, a prominent system design challenge at Stripe. This open-ended architecture problem tests your ability to engineer features from login behaviors and network signals, handle extreme class imbalance, select appropriate evaluation metrics, and deploy robust fraud detection models. Unlock the complete system design blueprint, architecture diagrams, and expert recommendations with a subscription.
System Design for MLStripeDesign an ML Fraud Detection System
4/5Design a robust machine learning architecture capable of identifying fraudulent transactions at scale, reflecting a classic Stripe interview prompt. This system design problem bridges predictive modeling and large-scale infrastructure, requiring you to address severe class imbalance, feature engineering, low-latency scoring, and continuous model monitoring. You will map out the end-to-end data flow, database choices, and server scalability needed to process immense payment volumes reliably. Master enterprise-grade AI system architecture and fraud prevention strategies. Access the comprehensive design guide, architectural diagrams, and expert recommendations with a subscription.
System Design for MLStripe
Classification questions at Shopify
ML System Design: Product Categorization / Taxonomy
3/5In this Shopify machine learning system design question, candidates must architects a robust product categorization pipeline capable of sorting thousands of merchant items across numerous business verticals. The challenge evaluates real-time streaming classification, hierarchical taxonomy management, and scalability for features like search autocomplete and personalized feeds. Key topics include data mining, classification strategies, and handling massive data distributions. Unlock the complete system design guide and expert solution by subscribing today.
System Design for MLShopifyModel Delivery-Time Prediction for Online Orders
4/5An applied machine learning question about predicting when an order will arrive. It covers how to frame the target, choose features and metrics, and keep the model healthy after launch.
System Design for MLShopify
Classification questions at Pinterest
ML System Design: Bad / Unsafe Content Detection
4/5Featured as a system design topic from Pinterest, this problem focuses on building a robust content moderation pipeline capable of flagging harmful media and text uploads in real-time and during periodic audits. You will explore multi-modal feature representation, advanced embedding strategies, and scalable labeling frameworks to maintain platform safety. The exercise assesses your ability to architect end-to-end machine learning infrastructure for trust and safety operations. Unlocking the complete design breakdown and expert architectural solutions requires a paid subscription.
System Design for MLPinterestBagging Decision Trees Without NumPy
3/5A coding question on combining many copies of a supplied tree classifier into one more stable model, using only the Python standard library. You draw resampled training sets from a seeded generator and merge the copies' predictions, so the same seed must always reproduce the same output. It tests exact reproducibility, careful handling of ties between classes and working without numerical libraries.
Coding QuestionsPinterest
Classification questions at Reddit
ML Fundamentals
3/5This machine learning fundamentals discussion, reported from Reddit interviews, delves into modeling feature-target relationships and interpreting overlapping class-conditional probability distributions. Candidates must reason through concepts such as linear separability, optimal decision thresholds, Bayes error rates, and cost-aware evaluation metrics. The dialogue thoroughly examines your theoretical understanding and practical intuition regarding classification model design and feature selection. The complete discussion prompts and model answers require a subscription.
ML Fundamentals & AlgorithmsRedditMLE Live Coding EDA and Post-Category CTR
3/5Simulate a realistic machine learning engineering live coding session based on reported Reddit interview formats. Working within a notebook environment, you will load structured data, perform exploratory analysis, handle categorical transformations, and train multiple predictive models to forecast user engagement. This exercise evaluates your end-to-end data science workflow, from feature engineering and model comparison to metric selection and performance justification. The complete dataset walkthrough, solution script, and evaluation notes require an active subscription.
ML Fundamentals & AlgorithmsReddit
More Classification questions
Classify a Digit Array by Consecutive Order
2/5Classify a short array of digits as consecutively rising, consecutively falling, or merely rearrangeable into one of those. This Palo Alto Networks question is a specification exercise where the three categories overlap in ways that have to be resolved in a fixed order. You will test the original order first, then test the sorted form, and decide which label wins when more than one applies. The full problem and the reference solution require a subscription.
Coding QuestionsPalo Alto NetworksImplement Binary Focal Loss
3/5This machine learning challenge, commonly asked in interviews at Datadog, focuses on implementing the Binary Focal Loss function to help models handle difficult classification tasks with class imbalance. You will practice handling probability clipping, mathematical transformations, and various reduction strategies to compute per-sample penalties accurately. To access the complete problem requirements, mathematical formulas, and the full model solution, a paid subscription is required.
ML Fundamentals & AlgorithmsDatadogDesign an API for Embedding and Classification Results
3/5An ML system design question about exposing a two-model pipeline, embeddings followed by classification, through a public API. It covers the contract of the opaque first model, synchronous calls versus background jobs, avoiding repeated expensive work, partial failures and model version changes.
System Design for MLScale AIHeart Disease Prediction — EDA and Modeling
3/5Featured in Hudson River Trading recruitment loops, this exploratory data analysis and predictive modeling challenge uses tabular health records to forecast medical conditions based on biometric indicators. Practitioners are tasked with cleaning messy datasets, handling missing values, visualizing feature correlations, and building robust classification baselines using standard data science libraries. This exercise evaluates your end-to-end analytical workflow and capability to extract actionable insights from raw numerical inputs. Review the full project specifications and benchmark model code through our subscription service.
ML Fundamentals & AlgorithmsHudson River TradingCompute Precision-Recall Curve from Scores
3/5Evaluating binary classification performance across various decision thresholds is a core machine learning competency tested in interviews at Audible. This algorithmic question challenges you to compute a precision-recall curve given a set of predicted probabilities and ground truth labels, tracking true positives, false positives, and false negatives as thresholds change. Master this evaluation metric by accessing the full problem details and reference implementation, which require a subscription.
Coding QuestionsAudibleSpam Email Detection: Signals, Model, and Metrics
3/5This machine learning system design exercise, commonly asked in Netflix interviews, challenges you to architect a robust classifier to identify unwanted promotional communications. You will define informative feature signals, select appropriate model architectures, and establish evaluation metrics while balancing the delicate trade-offs between false positives and false negatives. The prompt assesses your capacity to navigate ambiguous requirements and design scalable pipelines for text classification. Upgrade to a full subscription to view the complete design guide and reference architecture.
System Design for MLNetflixKNN Classification From Scratch
3/5Reported as a Qube Research & Technologies interview question, this problem challenges your understanding of fundamental machine learning algorithms by requiring you to implement K-Nearest Neighbors (KNN) classification entirely from scratch. You'll be provided with training data and test data, and your goal is to predict the labels for the test set without relying on any pre-built KNN libraries. This task assesses your ability to translate algorithmic principles into code, including distance calculations and majority voting for classification. It's a crucial test for aspiring data scientists and ML engineers. The full problem and model solution require a subscription.
ML Fundamentals & AlgorithmsQube Research & TechnologiesML System Design: Game Genre Classification From Scratch
4/5Architect an end-to-end machine learning system capable of categorizing platform content into a predefined taxonomy from the ground up. This Roblox interview scenario probes your expertise in multi-modal feature extraction, label collection strategies, model selection trade-offs, and continuous training lifecycles for downstream recommendation and search systems. You will need to address data ingestion pipelines and inference scaling requirements for dynamic digital catalogs. Unlock the complete design guide and expert breakdown by getting a subscription.
System Design for MLRobloxImplement Masked Cross Entropy Loss with Label Smoothing
3/5Build a classification loss from scratch in NumPy, combining per-sample masking with label smoothing so that ignored rows contribute nothing and targets are softened away from one-hot. Reported in OpenAI interviews, this exercise checks whether you can turn a loss definition into stable vectorised code rather than recite it. You will handle log-sum-exp overflow, the smoothing term's effect on the target distribution, and the question of what to return when every sample is masked out. The full problem statement and a verified reference implementation are available to subscribers.
ML Fundamentals & AlgorithmsOpenAICodeSignal ML / Research Scientist OA (10-Problem Battery)
4/5This rigorous ByteDance assessment battery for research scientist candidates evaluates both theoretical machine learning knowledge and practical algorithmic implementation. Spanning ten distinct challenges, the test covers classification metrics, decision tree criteria, manual neural network forward passes, and building clustering algorithms from scratch. It is designed to thoroughly examine your foundational understanding of statistical learning and robust coding skills. Unlock the complete question list and detailed solutions by securing a paid subscription.
Coding QuestionsByteDanceListing Lifetime Value — Estimation (ML Design)
3/5Examine the principles of forecasting long-term economic value for property listings to drive better marketplace ranking and host acquisition strategies, as discussed in machine learning design loops at Airbnb. This prompt emphasizes scoping, feature engineering, and calibration for monetary predictions to ensure business utility. You will explore how to structure target variables and build reliable inference pipelines. Gain full access to the complete design framework, evaluation metrics, and expert commentary with a subscription.
ML Fundamentals & AlgorithmsAirbnbML System Design - Predict Item Category
4/5Designed around a Walmart Labs machine learning interview, this system design problem requires you to architect a multi-modal classification service for automated product categorization. It tests your capability to integrate text, image, and structured metadata pipelines while satisfying strict low-latency and high-throughput requirements. You will explore feature extraction, model selection strategies, and offline evaluation metrics. Unlock the complete system architecture guide and expert design notes with a subscription.
ML Fundamentals & AlgorithmsWalmart LabsBias-Variance Trade-off in Classification
3/5A machine-learning fundamentals question about how classifier predictions change across training samples and how those changes relate to generalization under different loss functions.
ML Fundamentals & AlgorithmsCitadel Securities
Studied alongside
Classification interview FAQ
- How many Classification interview questions are there?
- 23 reported questions, mostly ML Fundamentals & Algorithms.
- Which companies ask Classification questions?
- Coinbase (2), Stripe (2), Shopify (2), Pinterest (2), Reddit (2), Palo Alto Networks (1), Datadog (1), Scale AI (1).
- How hard are Classification questions?
- They average 3.3 out of 5: 1 at 2/5, 15 at 3/5, 7 at 4/5.