feat: completed solutions

This commit is contained in:
2026-03-23 03:36:33 -04:00
parent 2279bea6f1
commit f568c094cb
65 changed files with 424 additions and 139 deletions
+3 -1
View File
@@ -20,10 +20,12 @@ fn main() {
handles.push(handle);
}
let mut results = Vec::new();
let mut results: Vec<_> = Vec::<_>::new();
for handle in handles {
// TODO: Collect the results of all threads into the `results` vector.
// Use the `JoinHandle` struct which is returned by `thread::spawn`.
results.push(handle.join().unwrap())
}
if results.len() != 10 {