K Sum(LintCode 89):

Problem