Amazon interview question

How did you apply the Star method