Two Sigma Interview Question

OO deisgn pattern