I just lately had an interview wherein there was the next quiz, and I obtained stucked, if anyone has concept on learn how to remedy it, or at the least learn how to method it that may be wonderful.
“Peter and Julia go to a chess occasion along with different 4 {couples}. A bunch of matches takes place with the rule that everyone can play at most as soon as towards all the opposite gamers besides their staff mate. You can too resolve to not play.
As soon as the occasion is over, Peter asks all the opposite gamers, together with Julia, what number of matches they performed, and everyone reply with a special quantity.
What number of matches did Julia play?”