AMA interview question

Oops concept