Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Character Replacement
Test your understanding
Check Your Understanding
In 'Longest Repeating Character Replacement', why track the max frequency character in the window?
- A.To determine when to shrink the window
- B.To find the most common character overall
- C.To minimize replacements
- D.Characters to replace = window size minus max frequency