MyOperator interview question

Basics of data structures and oops