Compute variance of trading profits | Citadel Interview Question