結果 : two pointer method time complexity