User:Realazthat/Notes/Algorithms/Set-intersection: Difference between revisions

Content added Content deleted
No edit summary
Line 1: Line 1:
== Set Difference Not Empty ==
== Set Difference Not Empty ==


Complexity: O(1) if |A| > |B|, O(|A|) otherwise; assuming O(1) for membership testing.

<pre>
<pre>
#Set Difference Not Empty
#Set Difference Not Empty