Segment Tree Build II(LintCode 439):

Problem