I’d argue that they were both heavily influenced by Darwin and Karl Marx.
Margaret Sanger was influenced by them as well and her organization has led to the deaths of 40 million just in the US.
Don’t forget Stalin, who was also influenced by Darwin and he killed more than Hitler.