随笔分类 -  js测试题

从LeetCode Online Judge上翻译过来的题目
摘要:原文地址https://leetcode.com/problems/two-sum/ 要求: 实现twoSum函数,第一个参数是整数数组,第二个参数是目标值,返回 整数数组中两个元素 相加等于目标值的下标 的数组,例如: 整数数组:nums = [2, 7, 11, 15]; 目标值: target 阅读全文
posted @ 2016-08-19 10:33 kamifun 阅读(208) 评论(0) 推荐(0)