OnMobile interview question

Design patterns