All topics

Data Science

98 data science questions asked across Jane Street, Citadel, Two Sigma, and other top quant firms.

Overview

About data science questions in quant interviews

This page collects every data science interview question on Myntbit. The 98 problems are tagged with the firms that ask them and ranked from easy to hard so you can drill the patterns in the order interviewers actually use. Data Science crosses the boundary between the math, coding, and markets sections of a typical quant round, so candidates pulling from a single track usually still encounter it.

How to study this topic

A path that works

  1. 1

    Start with the easy set

    Warm up with the 17 easy data science questions. Quick wins build pattern recognition before complexity ramps.

  2. 2

    Drill the medium tier next

    50 medium questions sit in the sweet spot where most interview questions cluster. Time yourself, then redo any you missed two days later.

  3. 3

    Stress-test on hard problems

    31 hard questions simulate the on-site round. Skip looking at solutions for at least 20 minutes, then write up your approach.

The library

All 98 data science questions

easyStatic Hash Map with Linear Probing (No Heap Allocation)easyLagged Return AutocorrelationeasyCross-Sectional Winsorization and Z-ScoreeasyDoubly Linked Order ListeasyContinuous Logarithmic ReturnseasySimple Moving Average with Circular BuffereasyRolling Volume-Weighted Average PriceeasyBitfield Order FlagseasyFixed-Size Top-N Tracker with Min-HeapeasyRolling Z-Score SignaleasyTime-Bucketed Average Trade PriceeasyValue Factor - Book-to-Market Z-ScoremediumFenwick Tree for Cumulative Trade Volume Range QueriesmediumOrder Existence with Bloom FiltermediumTicker Symbol Prefix TriemediumLimit Order Book SidemediumSorted Array Order Book with Best Bid/AskmediumFama-French 3-Factor RegressionmediumCorwin-Schultz High-Low Spread EstimatormediumOrder Book Imbalance CalculationmediumInterval Overlap Query for Open Position WindowsmediumVan Emde Boas Tree: Successor Query on Tick PricesmediumRobin Hood Open-Addressing Hash MapmediumQuality Factor Composite ScoremediumOracle Approximating Shrinkage (OAS) Covariance EstimatormediumCuckoo Hash Table for O(1) Order LookupmediumCarhart Four-Factor Alpha DecompositionmediumCustom Unique Pointer ImplementationmediumTime-Ordered Multimap for Event Window QueriesmediumSkip List for Sorted Order Book Price LevelsmediumPSD Matrix Repair via Eigenvalue ClippingmediumForward Fill with LimitmediumCross-Sectional Momentum SignalmediumDollar Bar ConstructionhardTwo-Level Price Map Order Book Range QueryhardLow-Latency Flat Map (Open Addressing)hardB-Tree Order-4 Insert and SearchhardIntrusive Linked ListhardTick Imbalance BarshardPersistent Order Tree: Immutable Version SnapshotshardLock-Free Ring Buffer with Sequence CountershardSparse Set: O(1) OperationshardRadix Tree for Order ID MappinghardCompressed Bitboard for Symbol Halt FlagshardAdjusting Prices for Stock SplitshardHigh-Performance EMA with ScipyhardConcurrent Skip List: Insert and SearchhardCount-Min Sketch for Per-Symbol Volume EstimationeasyInverse Matrix DeterminanteasyEigenvalues of a Projection MatrixeasyRank of Outer Product MatrixeasyInverse Matrix EigenvalueeasyBinary Search Comparisons on Sorted Price LevelsmediumOrthogonal Matrix Singular ValuesmediumOIS-SOFR Spread InterpretationmediumCredit Default Swap Trigger EventmediumSIMD Vectorization SpeedupmediumRed-Black Trees vs. B-Trees for DatabasesmediumSwap Rate vs. Par RatemediumDV01 CalculationmediumQuadratic Form of a Skew-Symmetric MatrixmediumPCA Total VariancemediumBloom Filter: Trade DedupmediumConsistent Hashing Load BalancingmediumLRU Cache Data StructuresmediumAmortized Array DoublingmediumReservoir Sampling for Real-Time DatamediumToken Bucket vs. Leaky BucketmediumParallel Merge Sort Time ComplexitymediumAmortized Time Complexity of Union-FindmediumBuild Order AlgorithmmediumKahan Summation Algorithm AccuracymediumBond Price Change ApproximationmediumImmunization with Duration MatchingmediumRepo Rate and FinancingmediumTIPS Principal AdjustmentmediumCurse of Dimensionality in FinancemediumOLS Beta Formula Dimensional ConsistencymediumCholesky Decomposition ExistencemediumMemory-Mapped Tick Data AdvantagemediumMatching Engine Data StructurehardCache-Oblivious Matrix Multiply ComplexityhardKaratsuba vs. Schoolbook Multiplication ComplexityhardZ-Spread vs OAS on Callable BondshardSegment Tree Range Query Time ComplexityhardFenwick Tree vs. Prefix Sum ArrayhardDeterminant DerivativehardLock-Free Queue and Compare-And-SwaphardHyperLogLog Error EstimationhardKMP Time ComplexityhardSwaption Pricing ModelhardCallable Bond ConvexityhardKey Rate Duration vs. Effective DurationhardCount-Min Sketch Estimation BiashardBootstrapping a Yield CurvehardLSM Tree vs B-Tree for Time SerieshardConvertible Bond Embedded OptionhardFFT Option Pricing Speedup
View all 98 data science questions