Which economic policy helped both Mussolini and Hitler deal with the Great Depression?

Which economic policy helped both Mussolini and Hitler deal with the Great Depression?