Two Pointer Algorithm Javascript Tutorial Geeks