原创 面試一文搞定之ArrayList和LinkedList

本文從ArrayList和LinkedList的不同點入手,到增加/刪除元素API的效率比較,順帶擴充知識面:簡述隨機訪問接口RandomAccess、vector集合,最後以ArrayList何時擴容、如何擴容(源碼分析)收尾。