code_warrior's blog

By code_warrior, history, 7 months 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

7 months 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: