Uploaded September 2022 | Updated November 2026, 1 day ago
#coding #programming #algorithms
The Facebook Meta Hacker Cup 2022 round 2 took place yesterday, did you take part? Since SecondThread uploaded solutions video, I will not be repeating the same. Instead, would like to share this interesting problem from a recent Codeforces round that unexpectedly uses disjoint set union (DSU) and graph search algorithms (BFS or DFS). Enjoy!
#coding #programming #algorithms
The Facebook Meta Hacker Cup 2022 round 2 took place yesterday, did you take part? Since SecondThread uploaded solutions video, I will not be repeating the same. Instead, would like to share this interesting problem from a recent Codeforces round that unexpectedly uses disjoint set union (DSU) and graph search algorithms (BFS or DFS). Enjoy!










