/**
*
* @param numbers int整型一维数组
* @param target int整型
* @return int整型一维数组
*/
function twoSum( numbers , target ) {
let arr=[]
for (let i=0; i<numbers.length; i++) {
for (let j=1 + i; j< numbers.length; j++) {
if (numbers[i] + numbers[j] == target) {
arr = [i+1, j+1];
}
}
}
return arr;
}
module.exports = {
twoSum : twoSum
};