List of the difference between the set and Set

List:

  1 may be repeated to add

  2. Using linear memory

  3. Remove the deposit is consistent with the order

Set:

  1. Add unrepeatable

  2. Use the hash table storage

  3. inconsistent with the stored sequence removed

Guess you like

Origin www.cnblogs.com/wangjixue/p/12300774.html
Recommended