Two Sigma Interview Question

Single thread or multi thread solutions?