
hashset
文章平均质量分 74
jialuyyy
这个作者很懒,什么都没留下…
展开
-
Longest Consecutive Sequence
Longest Consecutive Sequence Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, 1, 3, 2], The longest原创 2015-07-01 08:08:07 · 168 阅读 · 0 评论 -
Find the First Nonrepeated Character
Find the First Nonrepeated Character Write an efficient function to find the first nonrepeated character in a string. For instance, the first nonrepeated character in “total” is ‘o’ and the first non原创 2015-07-12 23:44:20 · 340 阅读 · 0 评论