Amazon Interview Question

How did you apply the Star method