Amazon interview question

Write up a modeling problem