#161
Subset and Superset
 

Difficulty:Elementary
Topics:set-theory


Set A is a subset of set B, or equivalently B is a superset of A, if A is "contained" inside B. A and B may coincide.
test not run
(clojure.set/superset? __ #{2})
test not run
(clojure.set/subset? #{1} __)
test not run
(clojure.set/superset? __ #{1 2})
test not run
(clojure.set/subset? #{1 2} __)


Code which fills in the blank: