![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode;数列
LUCASYAN个
这个作者很懒,什么都没留下…
展开
-
双指针 532. K-diff Pairs in an Array
Given an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined as an integer pair (i, j), where i and j are both numbers原创 2017-05-02 15:00:07 · 314 阅读 · 0 评论 -
121. Best Time to Buy and Sell Stock
leetcode数列题,动态规划或转换为最大连续子数列和的问题。原创 2017-04-20 19:16:07 · 224 阅读 · 0 评论