Are all two pointers problems solvable with binary search?

Revision en1, by Destopia, 2022-05-13 09:53:39

I've solved a lot of two pointers problems, I found that every problem I solved with two pointers is also solvable with binary search, is that true?

Tags two pointers, binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Destopia 2022-05-13 09:53:39 206 Initial revision (published)