MAQ Software interview question

oops