Hudson River Trading Interview Question

Stock buy sell problems, sorting algorithms