Amazon interview question

No even one, study SOLID acronim!