Friday, December 2, 2016

Which Sequence to use?

Sequences
  1. List #373
    1. Fast addition & removal at the beginning of List #373
    2. Use ListBuffer if appending to end of the list is needed
  2. Array
  3. ListBuffer
    1. Use this when an element is needed to be appended (Is Constant Time) to end of list
  4. ArrayBuffer