Array
- random pickup (load balance) - HashTable does not have the attribute to random pickup
- remove element in non-order-required array - remove element in a array does not have to move the following elements if the order does not matter. One way is to swap the element with the ending element in the array.
HashTable
- From a large collection of data, search for element as fast as possible.
No comments:
Post a Comment