Katkat

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 Scientist
    Assign 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 Engineer
    Autoscale 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 Scientist
    Build 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 Scientist
    Compute 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 Engineer
    Compute 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 Scientist
    Count 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 Researcher
    Daily 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 Scientist
    Derive 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 Engineer
    Design 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 Scientist
    Design 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 Engineer
    Design 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 Scientist
    Design 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 Scientist
    Evaluate 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 Scientist
    Evaluate 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 Scientist
    Evaluate 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 Scientist
    Expected 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 Engineer
    Explain 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 Scientist
    Explain 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 Scientist
    Fill 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 Scientist
    Forecast 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 Scientist
    How 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 Scientist
    How 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 Engineer
    How 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 Scientist
    How 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 Engineer
    Implement 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 Scientist
    Implement 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 Engineer
    Implement 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 Engineer
    Implement 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 Engineer
    Implement 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 Scientist
    Implement 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