14 lines
309 B
Rust
14 lines
309 B
Rust
pub struct Solution;
|
|
impl Solution {
|
|
pub fn generate_parenthesis(n: i32) -> Vec<String> {
|
|
|
|
return vec![];
|
|
}
|
|
}
|
|
|
|
#[test]
|
|
fn test1() {
|
|
let mut actual = Solution::generate_parenthesis(3);
|
|
actual.sort();
|
|
assert_eq!(actual, vec!["((()))","(()())","(())()","()(())","()()()"]);
|
|
}
|