Given this vocabulary

Solve these (separate) problems

  1. Given an arbitrary number of collections of cars, find the set of cars that is common to all collections (based on make and model).

  2. For each collection of cars eliminate all but the most expensive instance of each make and model

  3. Identify cars that do not exist in any other collection

  4. Sort the cars by make, model, year and value (will be covered separately)

  5. Assign unique ids to each car