Quant SWE
You are aiming at low-latency or trading-systems roles where the machine, the OS and the network are part of the interview.
By the end: Explain where the nanoseconds go: caches, memory ordering, the kernel, the network and the tail of the latency distribution.
0 of 30 steps done≈ 5 h of lessons
A lesson counts as done once you mark it Practicing or Mastered at the top of the lesson. A guided session counts once you tick it off on its own page. Labs are part of the order but are not counted.
1.Cost models beyond Big-O
- The Memory HierarchyIntermediate≈ 15 minHardware
- Memory Moves in Lines, Not VariablesIntermediate≈ 10 minHardware
- Spatial LocalityIntermediate≈ 10 minHardware
- Both Are O(n). One Is Far Slower.Intermediate≈ 10 minHardware
- Pointer Chasing: The Address You Do Not Have YetIntermediate≈ 10 minHardware
- Branch Prediction: Guessing Well Enough to MatterIntermediate≈ 10 minHardware
- Explain what Big-O leaves outGuided sessionReason about locality, allocation and dependency chains without inventing timings.
2.Shared state and ordering
- Shared Mutable StateFoundation≈ 15 minConcurrency
- Data Race Is Not Race ConditionFoundation≈ 20 minConcurrency
- Mutexes: What They Protect and What They Do NotFoundation≈ 20 minConcurrency
- Trace ownership and shared stateGuided sessionSay who owns an object, how long it lives and which threads may touch it.
- Atomics: What Is Actually IndivisibleAdvanced≈ 20 minConcurrency
- Compare-and-Swap and the Retry LoopAdvanced≈ 15 minConcurrency
- Happens-Before: The Edge That Makes a Write VisibleAdvanced≈ 15 minConcurrency
- What a Memory Model DefinesAdvanced≈ 20 minConcurrency
- False Sharing: Independent Data, Shared LineAdvanced≈ 15 minHardware
- Establish ordering before optimizing locksGuided sessionExplain publication and visibility with a happens-before relationship.
3.Through the kernel and the network
- System CallsFoundation≈ 15 minOS
- Context SwitchingFoundation≈ 10 minOS
- The Socket: A Descriptor With Two Kernel Buffers Behind ItAdvanced≈ 15 minOS
- UDP: Datagrams and the Contract You ChooseIntermediate≈ 10 minNetworking
- TCP: A Reliable Ordered Byte Stream over an Unreliable NetworkIntermediate≈ 10 minNetworking
- Follow a message through the systemGuided sessionLocate where scheduling, buffering and transport can add delay or change delivery behavior.
4.Measure it honestly
- Measure Before You OptimizeFoundation≈ 10 minPerformance
- Percentiles: Which One, and How Many Users Is That?Foundation≈ 10 minPerformance
- Tail Latency: Why p50 Being Fine Does Not HelpIntermediate≈ 10 minPerformance
- Queueing: Why Systems Get Slow Before They Get BrokenIntermediate≈ 15 minPerformance
- Coordinated Omission: When the Load Generator LiesAdvanced≈ 10 minPerformance
- Read a latency report criticallyGuided sessionDistinguish typical response time, tail behavior, throughput and offered load.
- Defend a diagnosis under follow-up questionsGuided sessionMove from observation to hypothesis, discriminating measurement and safe change.
- Quant engineering labLab / practice