Arrays & Strings Checkpoint

Work fresh traces, diagnose invalid implementations, and identify model boundaries.


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

1. Scanning "abcaef", the second a is at index 3 and the current window starts at 0. Where must the start move?

Select one answer.

2. For temperatures [60,60,63,61,65], how many days does index 1 wait for a strictly warmer day?
3. A closed-interval merge receives [1,3], [3,4], [8,9]. What is its result?

Select one answer.

4. A lower-bound search in [2,4,4,9] looks for 4. What zero-based index is returned?
5. A sliding maximum deque stores indices. Its front still has the largest value but is left of the current window. What should happen?

Select one answer.

Join Discord