Homework 7 Solutions

This isn't going to work, because add() is going to keep modifying the backingArray. You should just copy over everything from the old array into the new one, then delete the old one, then change backingArray pointer.