diff --git a/solutions/18. 4Sum.md b/solutions/18. 4Sum.md index dd38ac9..c15fde1 100644 --- a/solutions/18. 4Sum.md +++ b/solutions/18. 4Sum.md @@ -1,6 +1,6 @@ # [18. 4Sum](https://leetcode.com/problems/4sum/) # 思路 -和[3sum](https://github.com/ShusenTang/LeetCode/blob/master/15.%203Sum.md)这题基本一样的,注意这题由于循环层数比较多所以如果能 +和[3sum](./15.%203Sum.md)这题基本一样的,注意这题由于循环层数比较多所以如果能 在外层循环判断一下的话可以提前终止循环或跳过某次循环,见代码。 时间复杂度O(n^3)