previous | start | next

Answers

  1. Use the insert and remove methods.
  2. Allocating a new array and copying the elements is time-consuming. You wouldn't want to go through the process every time you add an element.


previous | start | next