Binary search needs sorted data or sorted answer space. Two pointers need sorted data or the ability to sort. Sliding window needs a contiguous subarray constraint. Does the output structure match ...