Assignment 7

Problems

  1. Complete the quicksort_v1 function. Ensure that it will work on all lists and be sure to include your tests in the code you submit.

  2. Complete the heapsort function. Ensure that it will work on all lists and be sure to include your tests in the code you submit.

  3. When we were creating our Heapsort we found a way to store a binary tree inside a list. Using that code as a building block write the following functions:

  4. Activate the controls in the diagram below so they work as described in the notes. You may use life_gui6.py as a starting point if you wish.

    Sample output.

Logistics