摘要: function sum(arr, target) { const res = [] for (let i = 0; i < arr.length; i++){ const a = target - arr[i] const index = arr.indexOf(a,i) if (index>=0 阅读全文
posted @ 2022-06-10 08:50 下一秒钟已经不同 阅读(22) 评论(0) 推荐(0) 编辑