File tree Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ Build Status] ( https://travis-ci.org/rust-interview/rust-leetcode-solutions.svg?branch=master )] ( https://travis-ci.org/rust-interview/rust-leetcode-solutions )
4
4
[ ![ Coverage Status] ( https://coveralls.io/repos/github/rust-interview/rust-leetcode-solutions/badge.svg?branch=master )] ( https://coveralls.io/github/rust-interview/rust-leetcode-solutions )
5
5
6
+ ## Acknowledgements
7
+
8
+ + https://github.com/kamyu104/LeetCode-Solutions
9
+ + https://github.com/begeekmyfriend/leetcode
10
+
11
+
6
12
## [ kamyu104's] ( https://github.com/kamyu104/LeetCode-Solutions )
7
13
```
8
14
cd kamyu104
@@ -1160,9 +1166,3 @@ cargo test
1160
1166
1117| [Building H2O](https://leetcode.com/problems/building-h2o/) | [C++](./C++/building-h2o.cpp) [Python](./Python/building-h2o.py) | _O(n)_ | _O(1)_| Hard |||
1161
1167
-->
1162
1168
1163
-
1164
-
1165
- ## Acknowledgements
1166
-
1167
- + https://github.com/kamyu104/LeetCode-Solutions
1168
- + https://github.com/begeekmyfriend/leetcode
Original file line number Diff line number Diff line change 2
2
// Space: O(n)
3
3
// Counting Sort + Pruning + Bit Manipulation
4
4
// https://github.com/kamyu104/LeetCode-Solutions/blob/master/C++/maximum-product-of-word-lengths.cpp#L1-L40
5
- pub struct Solution1 { }
6
- impl Solution1 {
7
- pub fn max_product ( words : Vec < String > ) -> i32 {
8
- 0
9
- }
10
- }
5
+ // pub struct Solution1 {}
6
+ // impl Solution1 {
7
+ // pub fn max_product(words: Vec<String>) -> i32 {
8
+ // 0
9
+ // }
10
+ // }
11
11
12
12
// Time: O(nlogn) ~ O(n^2)
13
13
// Space: O(n)
@@ -45,23 +45,23 @@ impl Solution2 {
45
45
// # Time: O(n) ~ O(n^2)
46
46
// # Space: O(n)
47
47
// https://github.com/kamyu104/LeetCode-Solutions/blob/master/Python/maximum-product-of-word-lengths.py#L1-L36
48
- pub struct Solution3 { }
49
- impl Solution3 {
50
- pub fn max_product ( words : Vec < String > ) -> i32 {
51
- 0
52
- }
53
- }
48
+ // pub struct Solution3 {}
49
+ // impl Solution3 {
50
+ // pub fn max_product(words: Vec<String>) -> i32 {
51
+ // 0
52
+ // }
53
+ // }
54
54
55
55
// # Time: O(nlogn) ~ O(n^2)
56
56
// # Space: O(n)
57
57
// # Sorting + Pruning + Bit Manipulation
58
58
// https://github.com/kamyu104/LeetCode-Solutions/blob/master/Python/maximum-product-of-word-lengths.py#L38-L62
59
- pub struct Solution4 { }
60
- impl Solution4 {
61
- pub fn max_product ( words : Vec < String > ) -> i32 {
62
- 0
63
- }
64
- }
59
+ // pub struct Solution4 {}
60
+ // impl Solution4 {
61
+ // pub fn max_product(words: Vec<String>) -> i32 {
62
+ // 0
63
+ // }
64
+ // }
65
65
66
66
#[ cfg( test) ]
67
67
mod tests {
You can’t perform that action at this time.
0 commit comments