Problem 1452 · Medium

People Whose List of Favorite Companies Is Not a Subset of Another List

Turn each favorite list into a bitmask, then keep a person only when no other mask contains theirs.

Open the interactive visualisation