摘要: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic 阅读全文
posted @ 2017-03-18 14:10 小猴子爱吃桃 阅读(488) 评论(0) 推荐(0)
摘要: ArrayList 和Vector是采取数组体式格式存储数据,此数组元素数大于实际存储的数据以便增长和插入元素,都容许直接序号索引元素,然则插入数据要设计到数组元素移动等内存操纵,所以索引数据快插入数据慢,Vector因为应用了synchronized办法(线程安然)所以机能上比ArrayList要 阅读全文
posted @ 2017-03-18 11:21 小猴子爱吃桃 阅读(118) 评论(0) 推荐(0)