Amazon interview question

Water trapping problem, Maximum number in K length subarray.