...

/

Solution: Check if Lists are Disjoint

Solution: Check if Lists are Disjoint

Let’s solve the Check if Lists are Disjoint problem.

We'll cover the following...

Statement

Given two lists, determine whether or not they are disjoint.

Note: Lists are disjoint if they have no common element between them.

Constraints:

  • 11 \leq list1.length,list2.length 103\leq 10^3
...
Access this course and 1400+ top-rated courses and projects.