开发者

Besides Inserts what are the advantages of LinkedLists over Lists?

I suspect that LinkedLists are better than Lists/Arrays for storing sparse data and graphs.

Is this c开发者_开发百科orrect? What else are they better than Lists for?


Another advantage for linked lists over arrays is that they are recursive structure which is useful in recursive algorithms. Also linked list is dynamic structure while array is a static structure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜