Hudson River Trading interview question

4 coding questions which was easy - medium - hard