>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Match the descriptions to these searching and scans terms: Linear search, Binary search, Two-pointer scan, Sliding window. | SWE Maxx
← Question bank
Algorithms · Matching
Difficulty: Medium
Match the descriptions to these searching and scans terms: Linear search, Binary search, Two-pointer scan, Sliding window.
Searching and scans
Concept relationships
Choose a match for every item. Use each answer once.
Two-pointer methods use relationships between the two positions to avoid redundant scans.
Choose a match
Binary search
Sliding window
Two-pointer scan
Linear search
Linear search can inspect every item before finding a match or concluding none exists.
Choose a match
Binary search
Sliding window
Two-pointer scan
Linear search
Binary search uses ordering to discard roughly half of the remaining candidates.
Choose a match
Binary search
Sliding window
Two-pointer scan
Linear search
Sliding windows update the active range as its boundaries move.
Choose a match
Binary search
Sliding window
Two-pointer scan
Linear search
Check answer
More in Algorithms →