You are given a properties of size k.
An undirected graph with properties[i]. An edge exists between vertex properties[i] and properties[j] is at least k.
Return the number of connected components in the graph.
Constraints:
properties.length
properties[i].length
properties[i][j]
You are given a properties of size k.
An undirected graph with properties[i]. An edge exists between vertex properties[i] and properties[j] is at least k.
Return the number of connected components in the graph.
Constraints:
properties.length
properties[i].length
properties[i][j]