开发者

data structures arrays

iv read up on many journals and ebooks and programming solutions, but have not yet understood which array structure would be best for searching, sorting, deleting and adding?

what would be the best array to use? vector array? static array? linked list? or binary开发者_如何学C tree?


This has a lot to do with the data you are trying to store.

Linked lists and trees are not considered to be arrays, because the amount of stored data can dynamically increase and/or decrease. If you know the exact size of your data set, maybe an array is a good choice.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜