Maximize profit from one stock trade | Two Sigma Interview Question