fn three_sum(mut nums: Vec<i32>) -> Vec<Vec<i32>> {
// TODO: find all unique triplets that sum to zero
vec![]
}
fn main() {
println!("{:?}", three_sum(vec![-1, 0, 1, 2, -1, -4]));
println!("{:?}", three_sum(vec![0, 0, 0]));
}
Click Run to execute, or Submit to grade (all languages).