Two Sigma Interview Question

Some coding questions, cannot disclose specifics