mountain-peak-must-be-interior

Status: IN

The valid-mountain-array solution requires the peak index to satisfy `0 < peak < n-1`, rejecting purely monotonic sequences even when both pointers converge.

Source: entries/2026/06/06/valid-mountain-array-solution.md

JSON