Submission is broken?

hi im new

i finished with the two-sum problem:
image

public class Solution {
	public int[] TwoSum(int[] nums, int target) {
		for (var i = 0; i < nums.Length; i++) {
			for (var j = 0; j < nums.Length; j++) {
				if (nums[i] + nums[j] == target)
					return new[]{i, j};
			}
		}

		return null;
	}
}

and it says 3 + 3 == 6 is the wrong solution when 6 is the target? excuse me???

Comments (4)