Everyone:

Next week, we will work on problems related to searching and sorting. Knowing how to apply these techniques will come in handy for Challenge 03 and Challenge 04.

Reading

The readings for this week are:

  1. Competitive Programmer's Handbook

    • Chapter 3 Sorting

Optional

Here are some optional resources:

  1. C++ - std::sort

  2. Python - Sorting HOW TO

Quiz

Once you have done the readings, answer the following Reading 02 Quiz questions:

Submission

To submit you work, follow the same process outlined in Reading 00:

$ git checkout master                 # Make sure we are in master branch
$ git pull --rebase                   # Make sure we are up-to-date with GitHub

$ git checkout -b reading02           # Create reading02 branch and check it out

$ cd reading02                        # Go into reading02 folder
$ $EDITOR answers.json                # Edit your answers.json file

$ ../.scripts/check.py                # Check reading02 quiz
Checking reading02 quiz ...
      Q1 0.50
      Q2 0.90
      Q3 0.40
      Q4 1.20
   Score 3.00 / 3.00
  Status Success

$ git add answers.json                # Add answers.json to staging area
$ git commit -m "Reading 02: Done"    # Commit work

$ git push -u origin reading02        # Push branch to GitHub

Pull Request

Once you have committed your work and pushed it to GitHub, remember to create a pull request and assign it to the appropriate teaching assistant from the Reading 02 TA List.