Jane Street Interview Question

Just one LeetCode Easy/Medium problem