(and pigs are said by some to be as intelligent as dogs)
Crows and Ravens may be smarter than dogs or pigs.
Octopuses are said to also have very large brains and possess complex problem solving abilities that are in some cases higher than non-human primates or that of dogs or pigs.