Optum Interview Question

Stock Buy and Sell Problem