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 3871–3900 of 4616 results

  • SquarepointMediumRisk Technology Software Engineer
    Explain Weak Pointers and Sketch Shared-Pointer Control-Block Semantics

    This question tests the understanding of C++ smart pointer memory management, specifically how reference counting works across shared and weak pointers to prevent memory leaks and dangling references.

    Software Engineering FundamentalsTechnical ScreenC++Memory ManagementConcurrency
  • SquarepointMediumData Scientist
    Explain derivatives, YTM, and core statistics

    This problem tests your understanding of fundamental financial math concepts (derivatives and YTM) and your ability to apply statistical rigor when modeling financial data.

    Statistics & MathTechnical ScreenFinanceStatisticsDerivatives
  • SquarepointMediumData Scientist
    Fewest Increment-All-but-One Moves to Make Array Values Equal

    From a Squarepoint technical screen: one move adds 1 to every element of an integer array except one chosen element, and you must find the fewest moves that make all elements equal. It tests reasoning about what each move really changes, along with negative values and answers beyond the 32-bit range.

    Coding & AlgorithmsTechnical Screen
  • SquarepointMediumQuantitative Researcher
    Find Values Whose Removal Minimizes Pairing Cost

    Determine all unique values from an odd-length array whose removal leaves an even-length array that can be partitioned into pairs with minimum total absolute difference.

    Coding & AlgorithmsTechnical Screenarrayssortingprefix-sum
  • SquarepointMediumRisk Technology Software Engineer
    Find a Target Sum Using Two Sorted Arrays

    Tests two-pointer traversal across two distinct sorted arrays to find a target sum, emphasizing linear time complexity and integer overflow prevention.

    Coding & AlgorithmsTechnical Screentwo-pointersarraysbinary-search
  • SquarepointMediumSoftware Engineer
    Find the Correlation Between Two Die-Face Counts

    A fair six-sided die is rolled independently `n` times, where `n` is a fixed positive integer. Explain the assumptions and derivation clearly, check edge cases, and show how the result changes when those assumptions no longer hold.

    Statistics & MathTechnical Screen
  • SquarepointMediumData Scientist
    Find the Probability That Two Uniform Variables Have Product Above One-Half

    Compute the probability that two independent uniform variables have product above one-half by conditioning or integrating over the unit square.

    Statistics & MathTechnical Screen
  • SquarepointMediumQuantitative Trader
    Implement EMA Crossovers and Root Solvers

    This problem tests your ability to manipulate time-series data using vectorized operations and implement iterative numerical approximations for square roots.

    Coding & AlgorithmsTechnical ScreenPandasTime-SeriesNumerical-Methods
  • SquarepointHardSoftware Engineer
    Implement and Improve React Components

    Implement and Improve React Components evaluates requirements, assumptions, structured reasoning, trade-offs, and verification in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Software Engineering FundamentalsTechnical Screen
  • SquarepointMediumData Scientist
    Implement drawdown, single-trade profit, coin change

    This question evaluates a candidate's algorithmic problem-solving skills across array and time-series processing, greedy optimization, and dynamic programming, requiring implementation and complexity analysis of maximum drawdown, single-trade profit, and coin change problems within the Coding & Algorithms domain for a Data Scientist role.

    Coding & AlgorithmsTechnical Screen
  • SquarepointHardData Scientist
    Maximize profit from one or many stock trades

    This question evaluates algorithmic problem-solving skills, particularly efficient array processing and profit-optimization across single-transaction and multiple-transaction variants, along with time and space complexity analysis.

    Coding & AlgorithmsTechnical Screen
  • SquarepointMediumQuantitative Researcher
    Shortest Subarray with at Least K Distinct Values

    Determine the minimum length of a contiguous subarray that contains at least k distinct elements. This problem tests sliding-window techniques, hash map management, and linear-time optimization.

    Coding & AlgorithmsTechnical Screensliding-windowhash-tabletwo-pointers
  • SquarepointMediumQuantitative Trader
    Solve Probability and Statistics Questions

    This problem tests your understanding of OLS regression assumptions, the asymptotic behavior of sample estimators, and expected value optimization under probabilistic constraints.

    Machine LearningTechnical ScreenRegressionProbabilityStatistics
  • StackAdaptEasySoftware Engineer
    Design a Recipe and Inventory Ordering Service

    Design an object-oriented recipe service where nested dishes consume raw inventory and an order either succeeds atomically or changes nothing. The prompt tests typed references, cycle detection, quantity expansion, overflow handling, concurrent stock updates, immutable views, and explicit replacement and query semantics.

    Software Engineering FundamentalsTechnical Screen
  • StackAdaptEasySoftware Engineer
    Design a time-windowed key-value store

    This question evaluates a candidate's ability to design efficient data structures and algorithms for a time-windowed key-value store, focusing on expiration handling, update semantics, and maintaining aggregate metrics under memory constraints.

    Coding & AlgorithmsTechnical Screen
  • StackAdaptEasyMachine Learning Engineer
    Explain Why a Geometric Mean Can Exceed Its Median

    Tests derivation and comparison of the expected value and median of a geometric distribution, explaining how right-skewness drives the mean above the median across different parameterizations.

    Statistics & MathTechnical Screenprobabilitystatisticsgeometric-distribution
  • StackAdaptEasyMachine Learning Engineer
    Maintain the Median of an Integer Stream

    This problem tests your ability to maintain dynamic statistics in a data stream using efficient heap-based data structures.

    Coding & AlgorithmsTechnical ScreenHeapsData StreamsAlgorithms
  • StravaMediumSoftware Engineer
    First Climb in Elevation Samples, Strict and With a Tolerated Partial Descent

    Given elevation samples taken at regular intervals, return the start and end indices of the first climb, first under strict rules where elevation may never drop and then allowing a temporary descent limited to a fraction of the gain so far. Tests precise index semantics, lookahead and careful state tracking.

    Coding & AlgorithmsTechnical Screen
  • StripeMediumSoftware Engineer
    Answer hiring manager behavioral questions

    This question evaluates behavioral competencies such as communication, teamwork, collaboration, problem-solving, decision-making under pressure, self-assessment, and alignment with professional values.

    Behavioral & LeadershipTechnical Screen
  • StripeMediumSoftware Engineer
    Assign tasks to workers with types and accounts

    This problem tests the ability to manage task scheduling with specific affinity constraints and varying worker processing times using an efficient priority-based simulation.

    Coding & AlgorithmsTechnical ScreenAlgorithmsSchedulingPriority Queue
  • StripeMediumSoftware Engineer
    Audit a Vendor CSV for Gaps, Banned Terms and Name Mismatches

    Build a configurable validator for vendor onboarding CSV rows that flags missing fields, out-of-range lengths and banned words, then checks whether a vendor's display name and legal name share enough words.

    Software Engineering FundamentalsTechnical Screencsv-parsingvalidationtext-normalization
  • StripeHardSoftware Engineer
    Build a Content-Moderation Rule Engine With Boolean Chains and Nested Groups

    Grow a small text-driven policy engine, in stages, from one comparison per post into a full boolean expression language with left-to-right AND/OR and nested parentheses, while treating an AI pair-programmer as a junior you're delegating narrow, well-specified tasks to.

    Software Engineering FundamentalsTechnical Screenparsinginterpreterssoftware-design
  • StripeHardSoftware Engineer
    Build a Transaction Rule Engine with AND/OR Chains and Nested Parentheses

    Multi-part coding exercise: build a rule engine that accepts or denies payment transactions by evaluating text conditions over their attributes. The parts add single comparisons, then AND/OR chains evaluated strictly left to right, then nested parentheses. It tests parser design, modular code, and directing an AI coding assistant.

    Software Engineering FundamentalsTechnical Screen
  • StripeMediumSoftware Engineer
    Calculate transaction fees from CSV records

    Implement a fee calculation engine that parses CSV transaction records, applies multi-attribute pricing rules and merchant volume discounts, and accurately rounds fee amounts in cents.

    Coding & AlgorithmsTechnical ScreenDesign PatternString ParsingState Tracking
  • StripeMediumData Scientist
    Choose threshold under costs and uncertainty

    This question evaluates cost-sensitive threshold selection, uncertainty quantification for expected profit, calibration diagnostics, and population drift detection in a data science setting.

    Statistics & MathTechnical Screen
  • StripeMediumSoftware Engineer
    Compute costs with validation and sorting in Python

    This question evaluates proficiency in data validation, numeric robustness, error handling, aggregation, per-item cost computation and deterministic sorting within Python-based data manipulation tasks, and it belongs to the Data Manipulation (SQL/Python) domain.

    Data Manipulation (SQL/Python)Technical Screen
  • StripeMediumData Scientist
    Compute power and interpret uplift metrics

    This question evaluates a Data Scientist's practical and conceptual competencies in A/B test design and analysis within the Statistics & Math domain, covering power/sample-size calculations, binary outcome inference, CUPED variance reduction, multiple-testing adjustments, and handling clustered/geographical data.

    Statistics & MathTechnical Screen
  • StripeMediumData Engineer
    Compute shipping cost with tiered pricing

    Evaluates implementation-level algorithmic logic for tiered pricing, covering per-unit aggregation, interval reasoning, and mixed incremental vs fixed pricing models within the Coding & Algorithms domain and Data Engineering role; abstraction level is practical, implementation-focused business logic and data transformation.

    Coding & AlgorithmsTechnical Screen
  • StripeMediumSoftware Engineer
    Data Center Health Registry, Haversine Distance and Nearest-Healthy Routing

    A three-part coding exercise: register data centers with locations and health states, compute great-circle distances with the haversine formula, then route each client to the nearest healthy data center. It tests clean class design, correct spherical distance math, tie-breaking and corner-case handling under time pressure.

    Software Engineering FundamentalsTechnical Screen
  • StripeMediumSoftware Engineer
    Debug Colander Output Bugs: Stray None, Nested Lists, and Empty List Versus Null

    A debugging exercise in the Colander validation library, where recorded results contain stray None values, nested lists that should be flat, and an inconsistent mix of empty lists and null. It tests tracing bad output back to the code that produces it, safe list flattening, None handling and choosing one canonical empty value.

    Software Engineering FundamentalsTechnical Screen