Career Tracks
Exams
MCQ
Companies
Opportunities
Pricing
MCQ Practice
Data Structures
Two Pointers & Sliding Window
Question
Easy
tcs-nqt
The two-pointer technique is most efficiently applied when:
A
The array is unsorted
B
The array is sorted and you need to find a pair with a target sum
C
The array has duplicate elements
D
The array is empty
Show Answer
← Back to Two Pointers & Sliding Window questions