Amazon Interview Question

the solution to the newsvendor problem.