Jane Street Interview Question

The question was probably a leetcode medium and involved working with a tree data structure.