Microsoft | Onsite | Group Pairs
Anonymous User
3203
Aug 08, 2019
Aug 09, 2019

Date: 08/05/2019

There is series of integer pairs like (1,3),(7,10),(5,7),(4,1). Create unique grouping if any value in pair matches with any value of other pairs. So for above example output become: (1,3,4) and (7,10,5). Any suggestion will be appreciated.

Comments (8)