Amazon interview question

Leadership Principles and Programming interview