Find the Power of K-Size Subarrays I
Check each length-k window for a run of consecutive values, and report its maximum when the run holds, or -1 otherwise.
Check each length-k window for a run of consecutive values, and report its maximum when the run holds, or -1 otherwise.