User:Realazthat/Notes/Algorithms/Set-intersection
Intersection Not Empty
#Intersection Not Empty INE(A,B): if |A| > |B| return true for ( a in A ) if ( a not in B ) return true return false
#Intersection Not Empty INE(A,B): if |A| > |B| return true for ( b in B ) remove b from A remove b from B if |A| > |B| return true return false