Try the same model with your own values. No checks, nothing recorded.
Back to Two pointers and sliding window
This is a sorted array of five numbers, with room for three more. Try every method from this tutorial: finding a pair that adds up to a target (two-sum), removing repeats (compact), a window of fixed width, the smallest window with a given sum, the palindrome check and a plain search. The narration explains each move.
Run an operation to begin.
Two-sum and compact need a sorted array. If you write or append a value out of order, they will refuse to run. The k / target box sets the width for a window, and the sum for the smallest window.