Parallel Letter Frequency
This commit is contained in:
parent
3ca9867a11
commit
af89290bbc
45 changed files with 2862 additions and 0 deletions
8
rust/anagram/src/lib.rs
Normal file
8
rust/anagram/src/lib.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use std::collections::HashSet;
|
||||
|
||||
pub fn anagrams_for<'a>(
|
||||
word: &str,
|
||||
possible_anagrams: &[&str]
|
||||
) -> HashSet<&'a str> {
|
||||
todo!("For the '{word}' word find anagrams among the following words: {possible_anagrams:?}");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue