Given m pairs of integers each between 1 and n, decide whether there exist two integers x < y such that every pair contains x or y (n and m up to 300,000).
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related courses

Course

