Hudson River Trading Interview Question

Some basic probability/expected value, coding question using data structures