code_warrior's blog

By code_warrior, history, 4 years ago, In English

Can anyone provide me a good set of dsu problems that exclusively includes its usage and can only be solved through it and not by any others like dfs or bfs!

  • Vote: I like it
  • +6
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I solved this problem using DSU because it seemed natural to use it here: https://codeforces.com/problemset/problem/400/D