Two Pointers Approach In Java