84 of 100 menu

Rust Taskbook Level 9.4

Given a file. Read its text and find the most frequently occurring word in this text.

Given some array:

let arr = [1, 2, 3, 4, 5, 6, 7];

Find the array element whose value is closest to the array mean.

Given a string:

let txt: &str = "abcde abcde";

The variable stores the following symbols:

let del: &str = "abe";

Remove all the characters specified in the variable from the string. In our case, we should get the following:

"cd cd"
enru