guess the next step: Union-find
Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.
Step 25 of 32
Question 19 of 23
Step 25 of 32
Step 26 of 32
Step 27 of 32
Step 28 of 32
Step 29 of 32
Step 30 of 32
Step 31 of 32
Question 19 of 23
Question 19 of 23
Right.
You guessed: Both groups are the same size, so hang one leader under the other.
What the run did:
Both groups have one place, so hang 6 under 7.
Question 19 of 23
Not this time.
You guessed: One group is smaller, so hang its leader under the other's.
What the run did:
Both groups have one place, so hang 6 under 7.
Question 19 of 23
Not this time.
You guessed: Both have the same leader, so they are already joined.
What the run did:
Both groups have one place, so hang 6 under 7.
Question 20 of 23
Question 20 of 23
Right.
You guessed: A road leads up from here to another place, so follow it.
What the run did:
5 points at 4, so follow the road up.
Question 20 of 23
Not this time.
You guessed: The road ends, so the place reached leads its group.
What the run did:
5 points at 4, so follow the road up.
Question 21 of 23
Question 21 of 23
Not this time.
You guessed: A road leads up from here to another place, so follow it.
What the run did:
4 points at nothing, so it leads the group 5 is in.
Question 21 of 23
Right.
You guessed: The road ends, so the place reached leads its group.
What the run did:
4 points at nothing, so it leads the group 5 is in.
Question 22 of 23
Question 22 of 23
Not this time.
You guessed: A road leads up from here to another place, so follow it.
What the run did:
7 points at nothing, so it leads the group 7 is in.
Question 22 of 23
Right.
You guessed: The road ends, so the place reached leads its group.
What the run did:
7 points at nothing, so it leads the group 7 is in.
Question 23 of 23
Question 23 of 23
Not this time.
You guessed: Both groups are the same size, so hang one leader under the other.
What the run did:
7's group has 2 places and 4's has 5 places, so hang the smaller group's leader, 7, under 4.
That is every question on this run: 0 of 23 right.
Question 23 of 23
Right.
You guessed: One group is smaller, so hang its leader under the other's.
What the run did:
7's group has 2 places and 4's has 5 places, so hang the smaller group's leader, 7, under 4.
That is every question on this run: 1 of 23 right.
Question 23 of 23
Not this time.
You guessed: Both have the same leader, so they are already joined.
What the run did:
7's group has 2 places and 4's has 5 places, so hang the smaller group's leader, 7, under 4.
That is every question on this run: 0 of 23 right.