isValidGroup

fun isValidGroup(start: Int, end: Int): Boolean(source)

Indicates whether the index range from start until end satisfies the size and distinct-value requirements for a group.

Parameters

start

the inclusive start index

end

the exclusive end index