Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
keineahnung2345 authored Apr 18, 2022
1 parent 6d6eb96 commit ceee6ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 18. 4Sum.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# 18. 4Sum

[leetcode - 18. 4Sum](https://leetcode.com/problems/4sum/)

Runtime: 28 ms, faster than 78.17% of C++ online submissions for 4Sum.

Memory Usage: 8.5 MB, less than 100.00% of C++ online submissions for 4Sum.

Just wrap 3Sum problem with one more outer loop.

```cpp
class Solution {
public:
Expand Down

0 comments on commit ceee6ea

Please sign in to comment.