mLogica interview question

Good