Max Network Rank - Company-specific OAs / Microsoft OA

https://algo.monster/problems/max_network_rank

I dont understand n for what is it ?