DS Interview Questions
22 interview questions in our bank cover DS, most of them Coding Questions. They average 3.0/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about DS: Two Sigma, Optiver, NVIDIA, Shopify, Robinhood, and 1 more.
Practice these on the problems board →Companies that ask about DS
Question mix
- Coding Questions12
- ML Fundamentals & Algorithms4
- Behavioral3
- System Design for ML2
- MLOps & Deployment1
Difficulty
- 2/5 — easy2
- 3/5 — medium17
- 4/5 — hard3
DS questions at Two Sigma
QR Data Analysis Prediction Case
3/5This open-ended quantitative research interview question from Two Sigma evaluates your ability to structure a complete predictive modeling pipeline from scratch. Candidates must demonstrate proficiency in feature construction, target selection, algorithmic choice, and rigorous validation metrics for domain-specific forecasting scenarios. This challenge tests practical analytical thinking and experimental design skills rather than standard algorithmic programming. Access to the comprehensive problem breakdown, suggested heuristics, and expert model solution requires an active subscription.
ML Fundamentals & AlgorithmsTwo SigmaQR OA — Linear Interpolator
3/5This Two Sigma coding question asks you to evaluate a function defined by connecting data points with straight segments, both inside and beyond the range of the data. It tests binary search, careful numerical edge cases and designing a class for fast repeated queries.
Coding QuestionsTwo SigmaAdd Two Strings with a Single-Digit Adder
2/5Tests adding two arbitrarily long numbers given as digit strings, handling unequal lengths and a final carry without using built-in big integers.
Coding QuestionsTwo SigmaQR OA - NYC Temperature Regression
3/5This quantitative research coding assessment, featured in interviews at Two Sigma, tests your data analysis and predictive modeling skills using historical weather datasets. You will apply statistical aggregation techniques, least-squares linear regression, and feature selection strategies to forecast temperature metrics. The task evaluates your proficiency with data manipulation libraries and foundational machine learning evaluation metrics under strict time constraints. The complete problem statement and professional model solution are available exclusively to subscribers.
Coding QuestionsTwo SigmaQR OA — Efficient Univariate OLS Regression
3/5This analytical coding challenge, reported from Two Sigma online assessments, requires computing univariate ordinary least squares regression slopes and dynamically updating them as new data points arrive in a streaming fashion without recomputing from scratch. It assesses mathematical fluency, statistical updates using sufficient statistics, and efficient data processing. Access the complete problem specification and verified model solution with a paid subscription.
Coding QuestionsTwo SigmaPalindrome Warmup + Two-Task Worker Scheduling
3/5Tackle this reported Two Sigma interview question that begins with checking symmetrical integer patterns before advancing to generating the next immediate sequence match. The second half of the exercise tests your algorithmic reasoning around resource allocation, specifically distributing personnel across dual assignments to optimize overall completion time. This challenge evaluates both your string manipulation intuition and your greedy optimization strategies under time pressure. Gain access to the full problem breakdown and a verified model implementation by purchasing a subscription.
Coding QuestionsTwo SigmaMaximum Product Path in a Complete Directed Graph
4/5Reported as a rigorous technical assessment for Two Sigma, this graph theory challenge asks you to determine a unique path across a complete directed structure that maximizes the total product of edge weights without revisiting nodes. It tests advanced algorithmic concepts, including logarithmic transformations to convert multiplicative objectives into additive ones, alongside dynamic programming with bitmasking. Access to the full problem text, complexity analysis, and verified model solution requires a subscription.
Coding QuestionsTwo SigmaStatistics Derivations: Correlation, Order Statistics, Regression Bias, Random Graphs
4/5A probability and statistics derivation question covering valid correlation matrices, order statistics of uniform variables, bias from a left-out regressor, and a counting expectation on a weighted random graph. It checks whether you can reach exact closed forms.
ML Fundamentals & AlgorithmsTwo Sigma
DS questions at Optiver
HR / Behavioral Phone Screen
3/5Prepare for the initial HR and behavioral telephone screening reported at Optiver with this overview of the standard recruiter conversation. This session typically evaluates your background, career motivations, logistics, and past projects through targeted reflective questions. Understanding what recruiters look for during this conversation helps you communicate your alignment with the firm's culture effectively. Unlock the full preparation guide and expert advice by securing a paid subscription.
BehavioralOptiverProportional Allocation Strategy Backtest
3/5Prepare for quantitative finance interviews with this Optiver assessment question, which requires building a portfolio simulation to backtest a daily momentum allocation strategy. Candidates must process historical performance data, calculate daily log returns, and accurately track statistical metrics while handling strict numerical bookkeeping. This exercise evaluates your ability to translate financial trading rules into robust code under timed constraints. Unlock the complete problem description and expert model solution by subscribing to our platform today.
Coding QuestionsOptiverLikelihood / Event-Ordering Test
2/5Featured in recent Optiver quantitative assessments, this timed evaluation presents candidates with data tables and charts, asking them to rapidly rank multiple scenarios based on their relative likelihoods. The format tests quick statistical intuition, risk assessment, and data interpretation under tight time constraints rather than heavy mathematical derivations. It provides a realistic preview of modern algorithmic trading screening modules designed to gauge analytical agility. Unlock the complete test overview and expert preparation guide with a subscription.
ML Fundamentals & AlgorithmsOptiverCurrency Arbitrage Detection
3/5This quantitative trading graph problem, featured in an Optiver online assessment, requires detecting currency arbitrage loops from an exchange rate matrix while accounting for transaction fees. The task typically maps to finding negative cycles in log-transformed graphs using specialized shortest-path algorithms. The full problem statement, mathematical reduction details, and complete model solution are available exclusively with a paid subscription.
Coding QuestionsOptiverOptimal Execution with a Broker Backstop
4/5This advanced Optiver coding problem presents an optimal stopping challenge framed around sequential purchasing decisions under uncertainty. Candidates must determine the ideal strategy to acquire multiple units of an asset while balancing random market fluctuations against a limited number of fallback options provided by a broker. This task assesses your command of dynamic programming and expected value calculations in a high-frequency trading context. The complete problem statement, mathematical formulation, and optimal solution are available exclusively to paid subscribers.
Coding QuestionsOptiverHR / Behavioral Phone Screen
3/5Prepare for your initial recruiter conversation at Optiver with this overview of commonly asked behavioral themes. This preliminary evaluation focuses on your background alignment, logistical details, professional motivations, and an in-depth review of a past project. It measures communication skills and cultural fit rather than technical depth. Access to the complete interview guide, expert tips, and suggested talking points requires a subscription.
BehavioralOptiverQR Take-Home Data Project & Presentation
3/5A discussion question on carrying out a time-series modeling project end to end. It covers framing the target, avoiding leakage in data preparation, choosing and validating a model, and defending those choices to reviewers.
ML Fundamentals & AlgorithmsOptiver
DS questions at NVIDIA
Telemetry Collector and GPU Utilization Dashboard
3/5Reported as an infrastructure system design interview at NVIDIA, this scenario challenges you to architect a scalable monitoring platform capable of ingesting high-frequency telemetry data from large GPU clusters. You must design storage layers, data retention policies, and query mechanisms that support both granular real-time metrics and long-term trend analysis. The problem evaluates your expertise in distributed systems, data modeling, and high-throughput logging pipelines. Unlock the full architectural requirements and a comprehensive solution guide with a subscription.
System Design for MLNVIDIAData Platform, Pipeline, and ML Operations Fundamentals
3/5Navigate a comprehensive data infrastructure evaluation mirroring challenges reported during NVIDIA engineering assessments. This scenario tests your operational knowledge spanning stream ingestion pipelines, metrics monitoring, handling data skew in distributed frameworks, and resolving root causes of pipeline failures. Access the complete engineering roadmap and expert troubleshooting guide with a paid subscription.
MLOps & DeploymentNVIDIAHardware-Adjacent Project Deep Dive
3/5A behavioral question that asks you to present one infrastructure or high-performance computing project in depth. It tests ownership, measurement discipline and how clearly you explain systems, data and deployment details under follow-up.
BehavioralNVIDIALLM SQL Chatbot Access Control and Query Safety
3/5Explore a complex system architecture challenge reported from NVIDIA interviews focusing on the secure design of a natural language interface for database querying. The scenario requires balancing user accessibility with strict authorization boundaries, ensuring that generated queries respect enterprise permission levels while protecting downstream data infrastructure from catastrophic resource exhaustion. Candidates must address query validation, mitigation of hallucinated syntax, and resource management to prevent cluster instability. Gain full access to the complete design blueprint and expert recommendations with a subscription.
System Design for MLNVIDIA
More DS questions
SQL Pair Programming (Data Engineer)
3/5This data engineering pair programming session, commonly encountered during technical interviews at Shopify, tests your practical query-writing proficiency through a live coding environment. You will work through escalating relational database challenges involving data cleansing, temporal aggregation, and string manipulation across multiple interconnected tables. To view the complete set of prompts and verified query solutions, a subscription is required.
Coding QuestionsShopifyAnalytics Engineer: SQL + Python Sessionization
3/5Practice dual-domain data processing combining advanced relational database queries and Python-based sessionization algorithms, highlighted in analytics engineering loops at Robinhood. This problem tests your ability to handle sharded datasets with complex join conditions and group event logs into distinct time-capped sessions. It is designed to evaluate practical data transformation skills used in production data pipelines. The full problem documentation, datasets, and complete model solutions require an active subscription.
Coding QuestionsRobinhoodData Engineer Screen — SQL Collaborator Model + IPv4 Validation
3/5This data engineering technical screen, featured at Figma, evaluates proficiency in both relational database querying and string manipulation. The first portion involves analyzing user activity logs to identify initial design shares and modeling close collaborator relationships, while the second part requires parsing and validating network address strings. The complete problem requirements, dataset schema, and model solutions are available exclusively to subscribers.
Coding QuestionsFigma
Studied alongside
DS interview FAQ
- How many DS interview questions are there?
- 22 reported questions, mostly Coding Questions.
- Which companies ask DS questions?
- Two Sigma (8), Optiver (7), NVIDIA (4), Shopify (1), Robinhood (1), Figma (1).
- How hard are DS questions?
- They average 3.0 out of 5: 2 at 2/5, 17 at 3/5, 3 at 4/5.