Researchers found that dogs outsmarted children when it came to disregarding unnecessary steps to accomplish a goal.