Is the expected I/O dataset wrong for this problem?
Can anybody help me understand why is the answer for the following input be 4  instead of 3? \n\n\n17\n[[4,7,2,14,6],[15,13,6,3,2,7,10,8,12,4,9],[16],[10],[10,3
Can anybody help me understand why is the answer for the following input be `4`  instead of `3`? \n\n```\n17\n[[4,7,2,14,6],[15,13,6,3,2,7,10,8,12,4,9],[16],[10],[10,3],[4,12,8,1,16,5,15,17,13],[4,13,15,8,17,3,6,14,5,10],[11,4,13,8,3,14,5,7,15,6,9,17,2,16,12],[4,14,6],[16,17,9,3,11,14,10,12,1,8,13,4,5,6],[14],[7,14],[17,15,10,3,2,12,16,14,1,7,9,6,4]]\n[[4,11],[3,5],[7,10],[10,12],[5,7],[4,5],[3,8],[1,5],[1,6],[7,8],[4,12],[2,4],[8,9],[3,10],[4,7],[5,12],[4,9],[1,4],[2,8],[1,2],[3,4],[5,10],[2,7],[1,7],[1,8],[8,10],[1,9],[1,10],[6,7],[3,7],[8,12],[7,9],[9,11],[2,5],[2,3]]\n```\n\nIf these 3 person learns the following languages, it makes all pairs of friends have at least one commong language.\n\n```\nPerson: 3 learns: 10\nPerson: 4 learns: 14\nPerson: 5 learns: 7\n```\n\nIf I update the input set with these findings (i.e: add lang 10 to person 3, .. ), then expected result is `0` \n\n
[]