• + 0 comments

    /@Author : Rehan/ Set hashSet = new HashSet<>();

        for(int i = 0; i<t; i++){
            String pair = pair_left[i]+","+pair_right[i];
            hashSet.add(pair);
            System.out.println(hashSet.size());
        }