/Number-of-Clusters

This is the Java program to find the Number of Clusters in an array.

Primary LanguageJava

Number-of-Clusters

This question was given to me during an internship.

This is the Java program to find the Number of Clusters in an array.

In this program, number of clusters are found ONLY in Horizontal and Vertical Islansds of 1's.