Skip to content

Commit b6559b0

Browse files
committed
15 init
1 parent 514862b commit b6559b0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/array/three_sum.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,20 @@ Constraints:
1414
-10^5 <= nums[i] <= 10^5
1515
*/
1616

17+
/*
18+
Naive solution
19+
T: O(N^3)
20+
S: O(N)
21+
*/
22+
pub fn solution_a(_nums: Vec<i32>) -> Vec<Vec<i32>> {
23+
vec![]
24+
}
25+
1726
/*
1827
T:
1928
S:
2029
*/
21-
pub fn solution_a<N>(_nums: N) -> Vec<Vec<i32>> {
30+
pub fn solution_b(_nums: Vec<i32>) -> Vec<Vec<i32>> {
2231
vec![]
2332
}
2433

0 commit comments

Comments
 (0)