結果 : two pointer problem example