Shopee Code League 2021 - Multi-Channel Contacts
- Maintain three dictionaries to significantly decrease the time complexity of building the graph
- Build a graph from the dataset
- Return the connected components of the graph
- Highest accuracy of 0.95326 in the challenge
- Top 1% in the leaderboard