Katkat

practice a little every day, paws crossed ♡

Data Scientist Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 61–90 of 641 results

  • AmazonHardData Scientist
    Root-cause an incident and drive consensus

    This question evaluates root-cause analysis, incident management, cross-functional stakeholder coordination, and quantitative diagnostic reasoning in the context of a sudden drop in voice checkout conversion, testing product analytics, ML-driven user flows, and operational reliability within the Behavioral & Leadership category.

    Behavioral & LeadershipOnsite
  • AmazonMediumData Scientist
    Solve two-sum variants at scale

    This question evaluates array and hashing algorithms, pair-sum reasoning including duplicate handling and lexicographic minimality, streaming and external-memory algorithm design, trade-offs in time/space complexity, and extension to three-sum with deduplication.

    Coding & AlgorithmsOnsite
  • AmazonMediumData Scientist
    Transform Customer Feedback into Valuable Product Enhancements

    Transform Customer Feedback into Valuable Product Enhancements evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipOnsite
  • AmazonMediumData Scientist
    Transform event logs with subscription windows in pandas

    This question evaluates a candidate's competency in time-based event attribution and temporal interval manipulation using pandas, covering interval merging, subscription-aligned revenue aggregation, anomaly flagging, and handling edge cases like overlapping or back-to-back subscriptions.

    Data Manipulation (SQL/Python)Onsite
  • AmazonMediumData Scientist
    Write and explain gradient descent pseudocode

    This question evaluates a candidate's understanding of batch gradient descent for linear regression with an intercept, covering concepts such as mean squared error optimization, vectorized matrix operations, analytical gradient computation, learning rate schedules, stopping criteria, feature scaling, and L2 regularization.

    Machine LearningOnsite
  • AppleHardData Scientist
    Choose Optimal Network Retry Threshold

    This question evaluates competence in statistical analysis, experimental design, and decision-making under trade-offs between playback reliability and battery or radio power consumption.

    Analytics & ExperimentationOnsite
  • AppleHardData Scientist
    Compute optimal matrix-chain multiplication order

    This question evaluates dynamic programming, algorithmic analysis, and sensitivity reasoning for matrix-chain multiplication, and it belongs to the Coding & Algorithms domain; it is commonly asked because it tests understanding of optimal substructure, trade-offs in parenthesization, and correctness versus greedy heuristics.

    Coding & AlgorithmsOnsite
  • AppleMediumData Scientist
    Design an A/B Test for Homepage Layout Impact

    This interview question evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer for Design an A/B Test for Homepage Layout Impact states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Analytics & ExperimentationOnsite
  • AppleMediumData Scientist
    Differentiate P-value and Confidence Interval in Statistics

    This interview question evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer for Differentiate P-value and Confidence Interval in Statistics states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Statistics & MathOnsite
  • AppleHardData Scientist
    Evaluate a model and choose metrics

    This question evaluates a data scientist's competency in cost-sensitive model evaluation, handling extreme class imbalance, calibration and threshold derivation, experiment design, and post-launch monitoring and fairness within the Analytics & Experimentation domain.

    Analytics & ExperimentationOnsite
  • AppleMediumData Scientist
    Explain CNN shapes, params, and trade-offs

    This question tests your ability to calculate output dimensions, parameter counts, and computational costs (FLOPs/MACs) in CNNs, while requiring you to justify architectural choices like depthwise convolutions and normalization layers.

    Machine LearningOnsiteCNNDeep LearningModel Architecture
  • AppleMediumData Scientist
    Explain Your Motivation and Alignment with Apple Values

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Explain Your Motivation and Alignment with Apple Values states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipOnsite
  • AppleMediumData Scientist
    Find Smallest Missing Positive Integer in O(n) Time

    This question evaluates a candidate's skill in array algorithms and in-place algorithm design, emphasizing understanding of time and space complexity and handling edge cases when identifying the smallest missing positive integer.

    Coding & AlgorithmsOnsite
  • AppleHardData Scientist
    Handle conflict, priorities, and harsh clients

    This English summary evaluates conflict resolution, stakeholder management, technical judgment in model selection, risk assessment, escalation, and documentation skills within a Data Scientist role, testing Behavioral & Leadership competencies in a cross-functional, client-facing context.

    Behavioral & LeadershipOnsite
  • AppleHardData Scientist
    Implement random forest with OOB and imbalance

    This question evaluates expertise in implementing and engineering a memory- and compute-efficient Random Forest for binary classification, covering ensemble methods, CART/Gini impurity, OOB evaluation and calibration, class-imbalance handling, reproducibility, parallel and thread-safe system design, and streaming/warm-start model updates.

    Machine LearningOnsite
  • AppleMediumData Scientist
    Remove shortest subarray to sort array

    This question evaluates proficiency in array algorithms, algorithmic efficiency (linear time and constant-space reasoning), and handling edge cases related to non-decreasing order, within the Coding & Algorithms domain.

    Coding & AlgorithmsOnsite
  • AppleEasyData Scientist
    Write queries to compute salary and budget stats

    This set of tasks evaluates data manipulation and analytical competencies, specifically the ability to compute order-statistics on numeric columns, perform relational joins to enrich event records, and reason about constrained selection for maximizing hires using SQL and pandas.

    Data Manipulation (SQL/Python)Onsite
  • AtlassianMediumData Scientist
    Diagnose Checkout Rate Drop: Steps and Analyses

    Diagnose Checkout Rate Drop: Steps and Analyses evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Analytics & ExperimentationOnsite
  • AtlassianMediumData Scientist
    Expand Internationally: Data and Strategy for Market Entry

    Expand Internationally: Data and Strategy for Market Entry evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipOnsite
  • ByteDanceHardData Scientist
    How to deploy and tune multimodal models?

    A six-part ByteDance data scientist onsite ML interview covering deploying and tuning multimodal models under GPU/VRAM, compute, and latency constraints; designing fast video retrieval over precomputed captions and embeddings with ANN and hybrid reranking; and deep-learning fundamentals — overfitting detection and mitigation, dropout and inverted-dropout scaling, normalization layers (BatchNorm/LayerNorm/GroupNorm/InstanceNorm/RMSNorm), and reinforcement learning for LLM post-training (RLHF). It tests practical systems tradeoffs alongside theoretical foundations across ML systems, retrieval, and reinforcement learning.

    Machine LearningOnsite
  • ByteDanceHardData Scientist
    Implement stack variants and upward path sum

    A four-part ByteDance Data Scientist onsite coding question: implement an O(1) MinStack, a MaxStack with peekMax/popMax, a streaming median finder, and a binary-tree upward (node-to-ancestor) path-sum check. It tests data-structure augmentation, streaming order statistics, and prefix-sum tree reasoning.

    Coding & AlgorithmsOnsite
  • C3 AIMediumData Scientist
    Decompress an encoded string

    Decompress an encoded string evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Coding & AlgorithmsOnsite
  • C3 AIMediumData Scientist
    Describe challenge, influence, and mentorship outcomes

    This question evaluates leadership competencies for a Data Scientist role, including influence and persuasion, mentoring, prioritization, trade-off reasoning, and the ability to quantify impact through metrics.

    Behavioral & LeadershipOnsite
  • C3 AIHardData Scientist
    Explain an End-to-End ML Project to Mixed Audiences

    This question assesses the ability to articulate a technical machine learning project, balancing depth for engineers with accessibility for non-technical stakeholders, while demonstrating rigorous problem-solving.

    Behavioral & LeadershipOnsiteBehavioralML LifecycleCommunication
  • C3 AIMediumData Scientist
    Explain key ML/stats concepts

    Explain key ML/stats concepts evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningOnsite
  • C3 AIHardData Scientist
    Find the Intersection of Two Linked Chains

    This problem tests the ability to detect the intersection point of two singly linked lists with constant space complexity, focusing on pointer manipulation and list traversal techniques.

    Coding & AlgorithmsOnsiteLinked ListsTwo PointersAlgorithms
  • C3 AIHardData Scientist
    Give Evidence-Based Strengths, Weaknesses, and Feedback

    This question tests the candidate's self-awareness, professional maturity, and ability to translate past critiques into tangible behavioral growth.

    Behavioral & LeadershipOnsiteLeadershipSelf-AwarenessCommunication
  • C3 AIHardData Scientist
    Reduce Fresh-Food Waste with an End-to-End ML Approach

    This problem tests the ability to design an integrated ML system that moves beyond simple demand forecasting by addressing inventory dynamics, supply constraints, and decision optimization.

    ML System DesignOnsiteSupply ChainOptimizationCensored Data
  • Capital OneHardData Scientist
    Address face recognition concerns with stakeholders

    This question evaluates competency in risk identification and prioritization, privacy and regulatory compliance, model fairness and governance, technical verification metrics such as liveness and accuracy, and stakeholder management for biometric system deployment.

    Behavioral & LeadershipOnsite
  • Capital OneMediumData Scientist
    Analyze your favorite app and improve it

    This question evaluates a data scientist's competencies in product analytics, monetization analysis, competitive positioning, metric specification (north-star and guardrails), and experimental design including power and validity considerations.

    Analytics & ExperimentationOnsite