For each person, it is required to keep the number of unique interactions. For that, we can use a two dimensional matrix or standard libraries to keep track of the unique interactions for each of the users. Some extra care needs to be taken if same pairs are given more than once.

Statistics

66% Solution Ratio
NirjhorEarliest, Mar '22
Mestu_PaulFastest, 0.0s
JIANEELightest, 5.5 kB
alamkhanShortest, 273B
Toph uses cookies. By continuing you agree to our Cookie Policy.