Quiz: When Sliding Window Applies

Test your understanding

Check Your Understanding

Which problem is NOT suitable for sliding window?

  1. A.Maximum sum of kk consecutive elements
  2. B.Longest substring with at most kk distinct characters
  3. C.Minimum window containing all characters of a target
  4. D.Longest increasing subsequence
Start the roadmap to answer the quizzes and solve the challenges