โ† Nutanix questions

Divide students into two fully connected friendship cliques

Filed under Nutanix

The question

Given a set of mutual friendship relations among students, determine if the students can be partitioned into two groups such that every student in a group is a friend of every other student in the same group. Single-student groups are valid. Return YES if possible, otherwise NO.

No write-up yet. Related questions below have one.

Related Nutanix questions

Collected from public candidate posts and coding forums. Updated Nov 2026.