Amazon interview question

Give answers using their principles.