Netflix interview question

Q Observer pattern