• + 0 comments

    The description is ambiguous. "subarray → consecutive sections" "Two elements → two adjacent elements in the section" Therefore, you may misunderstand that the array {4,5,6,7,8} is the correct answer.