check if the given arrays are disjoint