Quick Overview

Implement a limit-order matcher that honors crossing rules, price-time priority, partial fills, and resting-order prices. Produce trades and final books in deterministic order while reasoning about data structures, large quantities, edge cases, and logarithmic processing.

Match Limit Orders with Price-Time Priority

Company: Two Sigma

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Implement a limit-order matcher that honors crossing rules, price-time priority, partial fills, and resting-order prices. Produce trades and final books in deterministic order while reasoning about data structures, large quantities, edge cases, and logarithmic processing.

Read the full Two Sigma Software Engineer interview experience this question came from

Loading…