3. ArrayList的简单实现:扩容、插入、删除、遍历 3.1 为什么模板要选ArrayList而不是LinkedList 既然决定自己实现一个动态数组,为什么选ArrayList作为蓝本,而不是LinkedList? 原因有两点。 第一,动态数组在刷题中的使用频率远高于链表模拟。
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results