Rust solution
Solution with HashMap and chars can be used if the inputs contain Unicode characters.\nFor lowercase English letters, we can use Vec and bytes - this is a much 
Solution with ```HashMap``` and ```chars``` can be used if the inputs contain Unicode characters.\nFor lowercase English letters, we can use `Vec` and `bytes` - this is a much faster solution.\n```\nimpl Solution {\n    pub fn is_anagram(s: String, t: String) -> bool {\n        let mut map = std::collections::HashMap::new();\n        s.chars().for_each(|c| *map.entry(c).or_insert(0) += 1);\n        t.chars().for_each(|c| *map.entry(c).or_insert(0) -= 1);\n        map.into_values().all(|v| v == 0)\n    }\n}\n```
['Rust']