• ArrayList是实现了基于动态数组的数据结构,LinkedList是基于链表的数据结构
    • 对于随机访问,ArrayList要优于LinkedList,因为LinkedList要遍历链表
    • 对于新增和删除,LinkedList比较占优势,因为ArrayList要移动数据