Allows you to sort lists by asking a b questions.
Install the rust toolchain.
Run cargo run --release
to build and run the program.
The executable can also be found in target/release
folder after running either cargo build --release
or cargo run --release
First input the number of items in the list. Then input each item separated by a new line. The sorter will give a-b choices. Input either a or b to choose. The program will print out the sorted list after it has asked enough of these a-b questions.