Answers for "chow to check how many duplicates i have in a array java"

4

java array check duplicates

duplicates = false;

for(i = 0; i < zipcodeList.length; i++) {
	for(j = i + 1; k < zipcodeList.length; j++) {
  		if(j != i && zipcodeList[j] == zipcodeList[i]) {
   	  		duplicates = true;
		}
	}
}
Posted by: Guest on February-15-2020

Code answers related to "chow to check how many duplicates i have in a array java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language