万能的two pointer