Alphametrics in Rust

For the alphametrics exercise, I know I’m going to need something that generates a sequence of N unique numbers in the set of 0 through 9. There is a crate called itertools that provides a Permutations iterator. Am I allowed to use this?

You can try to use it and see if it works. If it’s not installed in the test environment, loading the crate will fail.

@IsaacG My first attempt complained that only certain versions of itertools was supported (not the latest version) and that I needed to submit my Cargo.lock file. Once I did that, I just got test failures, which was expected since I didn’t actually implement anything yet. Thanks for your help.