Lab 3: Sort
Labs are practice problems which, time permitting, may be started or completed in your lab, and are assessed on correctness only. You are encouraged to collaborate with classmates on this lab, though each member in a group collaborating is expected to contribute equally to the lab.
Analyze three sorting programs to determine which algorithms they use.
Open VS Code.
Start by clicking inside your terminal window, then execute
cd by itself. You should find that its “prompt” resembles the below.
Click inside of that terminal window and then execute
followed by Enter in order to download a ZIP called
sort.zip in your codespace. Take care not to overlook the space between
wget and the following URL, or any other character for that matter!
to create a folder called
sort. You no longer need the ZIP file, so you can execute
and respond with “y” followed by Enter at the prompt to remove the ZIP file you downloaded. Finally, right-click on the
sort folder and click “Open in CS50 Lab”. You should see the specification for this problem on the left-hand side and its distribution code on the right-hand side.