2017年10月22日

LeetCode1:Two Sum

摘要: https://leetcode.com/problems/two-sum/description/ 思路:暴力,对于每个数num[i],查找target-num[i],找到则返回i,j。 代码: /** * Note: The returned array must be malloced, as 阅读全文

posted @ 2017-10-22 13:55 刘怡凡 阅读(81) 评论(0) 推荐(0)

导航