摘要:
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie... 阅读全文
posted @ 2015-10-17 20:48
AprilCheny
阅读(200)
评论(0)
推荐(0)
摘要:
[LeetCode]1. 2Sum题目:https://leetcode.com/problems/two-sum/,解答:http://www.cnblogs.com/aprilcheny/p/4823576.html;[LeetCode]2. 3Sum题目:https://leetcode.co... 阅读全文
posted @ 2015-10-17 20:20
AprilCheny
阅读(262)
评论(0)
推荐(0)
摘要:
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ... 阅读全文
posted @ 2015-10-17 19:57
AprilCheny
阅读(285)
评论(0)
推荐(0)

浙公网安备 33010602011771号