Challenge 2: Check if Lists are Disjoint
Try to solve the Check if Lists are Disjoint problem.
Statement
Given two lists, determine whether or not they are disjoint.
Note: Lists are disjoint if they have no common element between them.
Constraints:
-
list1.length
,