Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Rust translation kumited .
You don't have flatten, but you can easily replace it with flat_map:
Yes, Rust.
The first 2 tests in basic_tests_dist are duplicates of one another.
fn basic_tests_dist(){
dotest1(144.0, 0.3, 311.83146449201496);
dotest1(144.0, 0.3, 311.83146449201496);
In the random test cases for Rust, the following line appears:
assert_eq!(remove_duplicate_words(&r), remove_duplicate_words(&r));
This line doesn't test anything. It should read instead:
assert_eq!(remove_duplicate_words(&r), solution(&r));
This comment is hidden because it contains spoiler information about the solution