SRE
Mastery
Course
Stats
← Back
🎯 Interview Patterns
Q1/6
+0 XP
💡 Key Concept
▲
Frequency counter uses dict to count occurrences. O(n) time for many problems.
What is the frequency counter pattern?
A
Count array length
B
Use dict to count occurrences
C
Sort and compare
D
Find unique items