Jane Street Interview Question

To determine haircuts in some hypothetical situations using excel programming.