<1,3,100> | <2,4,200> | <5,6,300>
find max value among each interval. find max value sum among all data.
[1] : 100
[2] : 300
[3]: 500
[4]: 200
[5] : 300
[6] : 300