Find the Missing Number(LintCode 196):

Problem