Status: IN
The loop bound `n - m*k + 1` in contains_pattern guarantees all slice accesses stay within array bounds without explicit bounds checking; when m*k > n the range is empty and the function returns False.
Source: entries/2026/06/06/detect-pattern-of-length-m-repeated-k-or-more-times-solution.md