Ten Slots At A Time

A team replaces capacity *= 2 with capacity += 10 to "save memory." The list starts at capacity 10 and receives 100,000 appends; every resize copies all elements currently stored.

How many element copies does each policy perform?

A

About 5.0×1085.0 \times 10^8 with += 10, about 5.0×1075.0 \times 10^7 with doubling.

B

About 5.0×1085.0 \times 10^8 with += 10, about 1.6×1051.6 \times 10^5 with doubling.

C

About 1.0×1051.0 \times 10^5 with += 10, about 1.6×1051.6 \times 10^5 with doubling.

D

About 1.0×1061.0 \times 10^6 with += 10, about 1.6×1051.6 \times 10^5 with doubling.