要有可视化动画---探索实践 4-1 犯罪团伙的数量 (并查集) 强盗之间的关系如下: 4 号强盗与 3 号强盗是同伙。 3 号强盗与 8 号强盗是同伙。 6 号强盗与 5 号强盗是同伙。 9 号强盗与 4 号强盗是同伙。 2 号强盗与 1 号强盗是同伙。 5 号强盗与 10 号强盗是同伙。 7 号强盗与 2 号强盗是同伙。 6 号强盗与 1 号强盗是同伙。 修改程序中的团伙关系,来确认存在几个团伙以及团伙的具体名单。 Handwritten Notes Description: The handwritten notes appear to be scratch work related to grouping the robbers based on the given relationships. At the top, the numbers 1, 2, 3, 4, 5 are written horizontally. Below them, aligned roughly, are the numbers 2, 1, 8, 3, 10. To the right of these, the numbers 7, 8 are written. Further to the right, there are three vertical lists of numbers enclosed in rough rectangles: List 1: 6 5 10 List 2: 7 2 1 List 3: 9 4 3 8 Next to List 3, the text "to." is written. There are also vertical lines next to List 2 and List 3, possibly indicating separate groups.

视频信息