Hedgehogs have a good memory and can remember specific scents and locations for up to three years. This helps them to navigate their environment and find food and shelter.