We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
//Write your code heres.close();Set<String>set=newHashSet<>();for(inti=0;i<t;i++){set.add(pair_left[i]+" "+pair_right[i]);System.out.println(set.size());}
Java Hashset
You are viewing a single comment's thread. Return to all comments →