Binary Search EDU
Step 1
Step 2
Step 3
Step 4
A Maximum Average Segment
Average should be in double not int or long long.
Any length is ok as long as the average is maximum.
Step 5
...