Maximum in Subarray

4

6 votes
Easy

?