Amazon interview question

LP - Earn Trust question