Jane Street Interview Question

Brainteaser