D. E. Shaw India interview question

Stock maximization problem