wishlists[i] is the list of participant i (0-based).
A list is covered if every one of its cities also appears in some other participant's list.
Return, in increasing order, the indices of participants whose lists are not covered by anyone else's.wishlists=[["rome", "paris", "oslo"], ["paris", "oslo"], ["lima"], ["oslo", "lima"]] → [0, 3]
List 1 is entirely inside list 0, and list 2 is inside list 3. That leaves 0 and 3.
wishlists=[["tokyo"], ["seoul"], ["tokyo", "seoul", "hanoi"]] → [2]
Both short lists are covered by the third one.
wishlists=[["cairo", "dubai"], ["dubai", "doha"]] → [0, 1]
wishlists=[["rome", "paris", "oslo"], ["paris", "oslo"], ["lima"], ["oslo", "lima"]]
[0, 3]
Run checks the first 3 tests in your browser. Submit checks all 70 tests on the server, hidden ones included.