Phân tích
This is a logic puzzle where we need to use the clues provided to determine which costume each child is wearing and how many sweets they have collected.
Bước 1
From clue 1, we know the child dressed as the monster has collected 20 sweets.
Bước 2
From clue 5, we know Seb has collected 20 sweets. Therefore, Seb is the monster.
Bước 3
From clue 6, we know Natasha is wearing the pumpkin costume.
Bước 4
From clue 2, we know Danny is not wearing the witch costume.
Bước 5
From clue 7, we know the monster costume is not worn by Jodie or Danny. We already know Seb is the monster, so this clue doesn't give us any new information.
Bước 6
From clue 3, we know Jodie has collected the least number of sweets.
Bước 7
From clue 4, we know the child dressed as the ghost has collected five more sweets than the monster. Since the monster has 20 sweets, the ghost has 25 sweets.
Bước 8
From clue 8, we know Natasha has collected five more sweets than the child dressed as the ghost. Since the ghost has 25 sweets, Natasha has 30 sweets.
Bước 9
We know that the monster has 20 sweets, the ghost has 25 sweets, and Natasha has 30 sweets. Since Jodie has the least number of sweets, she must have 15 sweets.

$step_{10}$
We know that Danny is not wearing the witch costume, and we know that Seb is the monster, Natasha is the pumpkin, and Jodie is the ghost. Therefore, Danny must be the witch.
Đáp án
Here is the completed table:

| Child        | Number of sweets | Costume |
| Jodie       | 15                              | Ghost |
| Danny      | 20                             | Witch |
| Seb          | 20                             | Monster |
| Natasha  | 30                             | Pumpkin |