Array and Linked list

作者: shaneZhang 分类: 算法与数据结构 发布时间: 2020-05-14 15:04
Array:
search element is quickly Time complexity o(1)
add element and delete element is slow. Time complexity o(n)
Linked list:
search element is slow.     Time complexity o(n)
add element and delete element is quickly.    Time complexity o(1)

本页面支持繁体中文友好显示:Array and Linked list

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表评论

电子邮件地址不会被公开。 必填项已用*标注