Array and string checkpoint

Trace boundaries, writes, and window lengths on fresh inputs.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. The totals at successive gaps are [0, 6, 2, 3, 1]. What is the sum from index 1 through index 2 inclusive? Enter one integer.
2. After deduplicating [0,0,4,4,6], which observation by the caller proves the required result?

Select one answer.

3. A palindrome routine returns true for "2:x:3". Which comparison did it miss?

Select one answer.

4. For positive [2,3,7] and target 7, how many qualifying lengths must the shrinking loop record when 7 enters? Enter one integer.
Join Discord