摘要:
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of 阅读全文
posted @ 2017-06-07 22:13
NaiveCoder
阅读(93)
评论(0)
推荐(0)
摘要:
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possib 阅读全文
posted @ 2017-06-07 22:01
NaiveCoder
阅读(111)
评论(0)
推荐(0)
摘要:
Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18]. 思路 本题要合并重叠 阅读全文
posted @ 2017-06-07 17:14
NaiveCoder
阅读(118)
评论(0)
推荐(0)
摘要:
在北邮人论坛上看到一个关于找机器学习相关工作的经验帖,很有感悟。其中提到了数据结构与算法的重要性,很有感悟。 敬录如下: 算法bug free能力要极强,面试算法题不难,所以这个能力很重要。如果自己的背景实力不行,项目不行,那就先刷他三四遍leetcode。切记,bug free。 算法的另外一个考 阅读全文
posted @ 2017-06-07 15:57
NaiveCoder
阅读(149)
评论(0)
推荐(0)