Two Sigma Interview Question

One LC hard, two easy