Expression Evaluation(LintCode 368):

Problem