![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法-tpoint
大大kc
今日事,今日毕
展开
-
leetcode01. Two SumII
Given an array of integers, find how many pairs in the array such that their sum is bigger than a specific target number. Please return the number of pairs.解法排序+双指针/** * @Author RenXintao * @Date 9/6原创 2017-09-06 20:16:38 · 243 阅读 · 0 评论 -
leetcode02 Triangle Count
triangle countGiven an array of integers, how many three numbers can be found in the array, so that we can build an triangle whose three edges length is the three numbers that we find?ExampleGiven arr原创 2017-09-06 22:00:18 · 403 阅读 · 0 评论 -
leetcode611. Valid Triangle Number
611. Valid Triangle NumberGiven an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we take them as side lengths of原创 2017-06-25 16:12:15 · 384 阅读 · 0 评论