Pattern 22: LeetCode Interview Patterns24 sections · 736 units
Open in CourseQuiz: Choosing the Right Data Structure
Test your understanding
Check Your Understanding
What data structure lets you quickly check if a character is already in your current substring?
- A.Array of booleans for each ASCII character
- B.Sorted list of characters
- C.Hash set or hash map
- D.Stack