差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン両方とも次のリビジョン
programming_algorithm:data_structure:union_find_tree [2019/08/25] ikatakosprogramming_algorithm:data_structure:union_find_tree [2019/09/21] – [実装] ikatakos
行 169: 行 169:
         else:         else:
             self.table[r1] = r2             self.table[r1] = r2
-            self.table[r2] = r1+            self.table[r2] +d1
 </sxh> </sxh>
programming_algorithm/data_structure/union_find_tree.txt · 最終更新: 2023/05/26 by ikatakos
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0