Codeforces 452-E Three Strings

Revision en1, by pinku22, 2017-03-30 20:30:19

I need help with this problem, tutorial making little to no sense to me, in most of the solutions they have used the disjoint set union way in which merging is done with some calculation which even when tried with many examples is not making complete sense to me.

question link: http://mirror.codeforces.com/contest/452/problem/E

Solution link: http://mirror.codeforces.com/contest/452/submission/7801672

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English pinku22 2017-03-30 20:30:19 428 Initial revision (published)