Available question text
Given N aliens and a list of pairs indicating which aliens live on the same planet, determine the number of ways to pick two aliens such that they belong to different planets.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Count Alien Pairs from Different Planets
Reported Dec 31, 2025 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source