1. Two Sum

public class Solution {
    public int[] twoSum(int[] nums, int target) {
        HashMap map=new HashMap<>();
        int[] res=new int[2];
        for(int i=0;i

你可能感兴趣的:(1. Two Sum)