File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
dsa-solutions/lc-solutions/0000-0099 Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
id : 4Sum
3
3
title : 4Sum (LeetCode)
4
- sidebar_label : 0018-4Sum
4
+ sidebar_label : 0018-4Sum.md
5
5
tags :
6
6
- Arrays
7
7
- Hashing
@@ -21,9 +21,9 @@ description: Given an array `nums` of `n` integers, return an array of all the u
21
21
| LeetCode Profile
22
22
|
23
23
| :----------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------- |
24
- | [ 4Sum] ( https://leetcode.com/problems/4Sum / )
25
- | [ 4Sum Solution on LeetCode] ( https://leetcode.com/problems/4Sum/solutions/5055810/video-two-pointer-solution / )
26
- | [ gabaniyash846 ] ( https://leetcode.com/u/gabaniyash846/ ) |
24
+ | [ 4Sum] ( https://leetcode.com/problems/4sum/description / )
25
+ | [ 4Sum Solution on LeetCode] ( https://leetcode.com/submissions/detail/1282735174 / )
26
+ | [ Saini_Nikita ] https://leetcode.com/submissions/detail/1282735174/ |
27
27
28
28
### Problem Description
29
29
@@ -221,11 +221,10 @@ public:
221
221
222
222
#### JavaScript
223
223
``` js
224
- /**
225
- * @param {number[]} nums
226
- * @param {number} target
227
- * @return {number[][]}
228
- */
224
+ @param {number[]} nums
225
+ @param {number} target
226
+ @return {number[][]}
227
+
229
228
var fourSum = function (nums , target ) {
230
229
let result = [];
231
230
if (nums .length < 4 ) return result;
You can’t perform that action at this time.
0 commit comments