摘要:
List封装了链表,Vector封装了数组, list和vector得最主要的区别在于vector使用连续内存存储的,他支持[]运算符,而list是以链表形式实现的,不支持[]。 Vector对于随机访问的速度很快,但是对于插入尤其是在头部插入元素速度很慢,在尾部插入速度很快。List对于随机访问速 阅读全文
posted @ 2017-06-28 15:49
czcColud
阅读(506)
评论(0)
推荐(0)
摘要:
Q1: 回文字符串的分割 Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s 阅读全文
posted @ 2017-06-28 07:55
czcColud
阅读(1284)
评论(0)
推荐(0)

浙公网安备 33010602011771号