practice a little every day, paws crossed ♡
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 8581–8610 of 9403 results
- Two SigmaHardData ScientistAssign 2n Workers to Two Tasks to Minimize Total Time
This question evaluates algorithmic problem-solving skills in combinatorial optimization and resource allocation, focusing on reasoning about cost differences when assigning 2n workers into two equal-sized tasks and belongs to the Coding & Algorithms domain.
Coding & AlgorithmsTechnical Screen - Two SigmaMediumSoftware EngineerAutoscale a Server Fleet from Throughput Readings
This question evaluates algorithmic implementation skills and numeric reasoning, focusing on stateful simulation of autoscaling behavior and capacity arithmetic under streaming throughput readings.
Coding & AlgorithmsTechnical Screen - Two SigmaHardData ScientistBuild a Housing Price Prediction Model from Historical Data
This question evaluates a data scientist's competency in end-to-end supervised machine learning for real-estate pricing, focusing on precise outcome definition, feature engineering, handling missing and time-varying data, and robustness to market regime changes.
Machine LearningOnsite - Two SigmaMediumData ScientistCompute Piecewise Linear Interpolation
This question evaluates skills in algorithm design and numerical interpolation, including sorting and searching among 2D points, handling boundary cases for extrapolation, and computing linear interpolation accurately and efficiently.
Coding & AlgorithmsOnline Assessment - Two SigmaHardSoftware EngineerCompute maximum currency exchange rate
Compute maximum currency exchange rate 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 & AlgorithmsTechnical Screen - Two SigmaHardData ScientistCount Distinct Island Shapes in a Binary Grid
This question evaluates a candidate's understanding of grid-based connected components and spatial equivalence, measuring competency in representing and distinguishing island shapes regardless of their location.
Coding & AlgorithmsOnsite - Two SigmaMediumQuantitative ResearcherDaily Temperatures by Town: Linear Models to Predict NYC Temperature
This question evaluates proficiency in ordinary least squares linear regression (with intercept), basic statistical summaries such as standard deviation and median, and model-evaluation metrics like in-sample mean squared error applied to aligned daily time-series temperature data.
Machine LearningTechnical Screen - Two SigmaHardData ScientistDerive correlation bounds and omitted-variable bias
This problem tests your understanding of the constraints on correlation matrices and your ability to analytically derive the bias introduced in linear models when a relevant predictor is ignored.
Machine LearningTechnical ScreenLinear RegressionLinear AlgebraStatistics - Two SigmaMediumSoftware EngineerDesign GenAI Fine-Tuning and Agent Tradeoffs
Design an enterprise GenAI research agent platform, evaluating trade-offs between fine-tuning methods (Full, LoRA, QLoRA) versus RAG, alongside agent orchestration, structured outputs, and safety controls.
ML System DesignTechnical ScreenLLM Fine-TuningAI AgentsModel Serving - Two SigmaEasyData ScientistDesign a house-price prediction model
This problem evaluates your ability to design a robust end-to-end machine learning pipeline for house price prediction, focusing on data preprocessing, feature engineering, and validation strategy.
Machine LearningTechnical ScreenRegressionFeature EngineeringModel Validation - Two SigmaMediumSoftware EngineerDesign and Scale Quantitative Optimization Workflows
Design a scalable, deterministic quantitative optimization and backtesting platform capable of executing 30,000 portfolio optimization runs with strict point-in-time data correctness and full data lineage.
System DesignTechnical ScreenDistributed SystemsQuantitative FinanceBatch Processing - Two SigmaMediumData ScientistDesign features for house price prediction
This question tests your ability to engineer features from heterogeneous tabular data, handle missing values, and select appropriate evaluation metrics for a high-stakes regression problem.
Machine LearningTechnical ScreenFeature EngineeringRegressionData Preprocessing - Two SigmaMediumData ScientistEvaluate Piecewise Linear Function
This question tests the ability to efficiently search through sorted interval data and apply linear interpolation to compute the value of a continuous piecewise function at a specific input point.
Coding & AlgorithmsOnline AssessmentBinary SearchInterpolationData Structures - Two SigmaMediumData ScientistEvaluate a Piecewise Linear Function
This question tests the ability to efficiently search through a sorted collection of coordinates and apply linear interpolation to compute values for a continuous piecewise function.
Coding & AlgorithmsOnline AssessmentBinary SearchInterpolationGeometry - Two SigmaMediumData ScientistEvaluate piecewise linear function at x
This question evaluates competency in numerical interpolation and handling of piecewise linear functions, including locating the correct segment in a sorted sequence of points and managing out-of-range inputs.
Coding & AlgorithmsOnline Assessment - Two SigmaHardData ScientistExpected Number of Good Pairs in a Randomly Weighted Complete Graph
This question evaluates probabilistic reasoning, combinatorics, and order-statistics intuition by asking for the expected count of mutual maximum-edge neighbors (good pairs) in an edge-weighted complete graph with i.i.d. continuous weights.
Coding & AlgorithmsTechnical Screen - Two SigmaMediumSoftware EngineerExplain move and recent project
This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Explain move and recent project states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipOnsite - Two SigmaHardData ScientistExplain why the t-statistic helps
This question evaluates understanding of the t-statistic, standardized effect sizes, standard errors, hypothesis testing, and interpretation of statistical evidence within the Statistics & Math domain, and it targets conceptual understanding with practical application implications.
Statistics & MathTechnical Screen - Two SigmaEasyData ScientistFill Missing Time-Series Values with Linear Interpolation (Duplicate Timestamps Allowed)
This question evaluates a candidate's ability to perform time-series data cleaning and aggregation of duplicate timestamps, plus numerical linear interpolation and boundary value propagation, within the Coding & Algorithms domain.
Coding & AlgorithmsOnline Assessment - Two SigmaHardData ScientistForecast bikes available at a station
This question tests the ability to design a robust time-series forecasting pipeline, specifically addressing feature engineering for cyclic temporal patterns and the selection of appropriate validation strategies for sequential data.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringForecasting - Two SigmaMediumData ScientistHow detect duplicate card records?
This question evaluates a candidate's competency in duplicate detection, record linkage, entity resolution, and data quality assessment within credit card transaction datasets.
Machine LearningTechnical Screen - Two SigmaEasyData ScientistHow to forecast bike dock demand
This problem tests your ability to design a predictive pipeline for spatio-temporal demand, focusing on feature extraction from time-series data and robust validation strategies.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringValidation - Two SigmaHardSoftware EngineerHow to prepare for a hiring manager round
This question evaluates behavioral and leadership competencies such as past project execution, collaboration, communication, decision-making, and role fit beyond coding and technical screens.
Behavioral & LeadershipOnsite - Two SigmaHardData ScientistHow would you forecast bike demand?
This problem tests your ability to design a robust machine learning pipeline for time-series demand forecasting, focusing on feature engineering for exogenous variables and evaluation metrics for spatial-temporal data.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringRegression - Two SigmaMediumSoftware EngineerImplement Price-Time Order Matching
Design and implement an in-memory limit order book matching engine supporting buy and sell orders with price-time priority (FIFO) and order cancellation.
Coding & AlgorithmsTechnical Screenheapdesignhash-table - Two SigmaHardData ScientistImplement Univariate Linear Regression with Ordinary Least Squares
This question evaluates understanding of univariate linear regression and the ordinary least squares (OLS) closed-form estimator, probing competencies in basic statistical estimation, interpretation of slope and intercept, numerical stability, and floating-point arithmetic.
Coding & AlgorithmsOnsite - Two SigmaMediumSoftware EngineerImplement a Hash Map with Separate Chaining and Resizing
This question evaluates understanding of hash table fundamentals, including hashing, separate chaining collision resolution, linked-list bucket management, dynamic resizing, and rehashing to maintain load factor and amortized performance.
Coding & AlgorithmsTechnical Screen - Two SigmaHardSoftware EngineerImplement an In-Memory Database
This question evaluates competence in implementing in-memory relational data structures, parsing tokenized database-like commands, and evaluating compound predicates with comparison operators.
Coding & AlgorithmsTechnical Screen - Two SigmaHardSoftware EngineerImplement binary encode/decode with frequency tree
This question evaluates understanding of frequency-based binary encoding and decoding, including deterministic tree construction, tie-breaking rules, and traversal, and tests knowledge of trees, priority queues, greedy algorithms, and bit-level string manipulation in the Coding & Algorithms domain.
Coding & AlgorithmsTechnical Screen - Two SigmaMediumData ScientistImplement merge sort and largest 1-rectangle
This question evaluates proficiency in implementing and analyzing classic algorithms, specifically merge sort for array sorting and techniques for computing the largest all-ones rectangular submatrix in a binary matrix, testing algorithmic thinking, data structure manipulation, and time/space complexity reasoning.
Coding & AlgorithmsTechnical Screen