Squarepoint Capital interview question

Live Coding during the Interview