Skip to content

Instantly share code, notes, and snippets.

@IanCarrasco
Last active January 17, 2018 08:43
Show Gist options
  • Save IanCarrasco/2bef296216ee75c7efab3d3a81a26df4 to your computer and use it in GitHub Desktop.
Save IanCarrasco/2bef296216ee75c7efab3d3a81a26df4 to your computer and use it in GitHub Desktop.

READ ME - PA1 - Shopping Bags

Question 1

Pick three of the Bag implementations other than Bag0. In 150 words or less, describe the tests that differ across them, and why the implementations produce those different results. You don’t have to talk in detail about all of your tests, just the ones that usefully distinguish three implementations of your choice

  • Bag 2
    • Bag 2 utilizes a very straightforward approach *Bag 6 *Bag 10

Question 2

Some of the Bag implementations are buggy – they have clear mistakes in some situations. Others simply differ in behavior. For each implementation, indicate if you think it has a clear bug, and describe the problem, or if it’s simply an implementation choice. Give one sentence for each bag. Note that this requires exercising your own judgment, which we cannot do for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment