Leetcode1 Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1].class Solution { public int[] twoSum2(int[] numbers, int target) { //返回int类型的数组 int[] Leetcode 2023-09-17 48 点赞 0 评论 72 浏览