CVS Health interview question

Star method, friendly and quick