Despite their stated intentions, the hiring pipelines are for specialists. The leetcode tests are good at selecting for specialists, since the nature of those tests (irrespective of the subject matter) matches the specialist skillset.
It's important to distinguish between specialist/generalist roles versus specialist/generalist people. Most of FAANG is hiring specialists people for both roles. That's my sense of it anyway.