Two pointers with overlap