1p3a_oj Question

Find Pair with Maximum Common Friends or Minimum Indices

SWE coding 0

Question Details

Given a list of people's names, find the two people with the maximum number of common friends. Each person has a list of friends. If there's a tie, return the pair with the smallest indices; if no com

Full Details

🔒

Unlock all Citadel questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a citadel interview for a swe role during the coding round.

Difficulty rating: 0