Quiz: Character Replacement

Test your understanding

Check Your Understanding

In 'Longest Repeating Character Replacement', why track the max frequency character in the window?

  1. A.To determine when to shrink the window
  2. B.To find the most common character overall
  3. C.To minimize replacements
  4. D.Characters to replace = window size minus max frequency
Start the roadmap to answer the quizzes and solve the challenges