Two Pointer Algorithm Javascript Playground Sololearn Java