TactivergeLite

Lite / Independent Engineering Research / Week 19

Week 19: Computational complexity

Term 3: Advanced Computing and System Design

This week you will

Lessons

  1. How fast does the work grow? · about 40 min
    Your code sorts 1,000 readings in a millisecond. Will a million readings take two seconds, or seventeen minutes?
  2. Divide, conquer and count with recurrences · about 40 min
    Merge sort splits a list in half, sorts each half, then merges. How do you count the work of something defined in terms of itself?
  3. When exact answers are out of reach · about 45 min
    A delivery van must visit 20 shops. Trying every route would take a fast computer about two years. How do real route planners answer in a second?
← Week 18Week 20 →