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 33[ ![ Build Status] ( https://travis-ci.org/rust-interview/rust-leetcode-solutions.svg?branch=master )] ( https://travis-ci.org/rust-interview/rust-leetcode-solutions )
44[ ![ 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 )
55
6+ ## Acknowledgements
7+
8+ + https://github.com/kamyu104/LeetCode-Solutions
9+ + https://github.com/begeekmyfriend/leetcode
10+
11+
612## [ kamyu104's] ( https://github.com/kamyu104/LeetCode-Solutions )
713```
814cd kamyu104
@@ -1160,9 +1166,3 @@ cargo test
116011661117| [Building H2O](https://leetcode.com/problems/building-h2o/) | [C++](./C++/building-h2o.cpp) [Python](./Python/building-h2o.py) | _O(n)_ | _O(1)_| Hard |||
11611167 -->
11621168
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 22// Space: O(n)
33// Counting Sort + Pruning + Bit Manipulation
44// 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+ // }
1111
1212// Time: O(nlogn) ~ O(n^2)
1313// Space: O(n)
@@ -45,23 +45,23 @@ impl Solution2 {
4545// # Time: O(n) ~ O(n^2)
4646// # Space: O(n)
4747// 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+ // }
5454
5555// # Time: O(nlogn) ~ O(n^2)
5656// # Space: O(n)
5757// # Sorting + Pruning + Bit Manipulation
5858// 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+ // }
6565
6666#[ cfg( test) ]
6767mod tests {
You can’t perform that action at this time.
0 commit comments