Talk:Union find

Perhaps the pseudo code should be moved between the naive approach and the optimizations. This would help avoid confusion thinking, that the optimizations are represented in the example.