Compare every pair of accounts and check if they share any email.
With accounts and emails each, checking all pairs is . Merging chains of connected accounts adds more complexity.
Can you group emails that belong to the same person more efficiently?
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
The trap
Compare every pair of accounts and check if they share any email.
With accounts and emails each, checking all pairs is . Merging chains of connected accounts adds more complexity.
Can you group emails that belong to the same person more efficiently?