Amazon Interview Question

Give answers using their principles.