Anything leetcode related comes down to rote memorization. If LC is part of interviewing process you are hiring people who good at repeating things they’ve memorized, have a lot of stamina to spend hundreds of hours doing meaningless work and are very good at following orders. If that’s what you need than it’s a great filter.
You can save some effort though and just hire anyone who passed Chinese or Korean grueling school system with emphasis on standardized tests. LC-based interviews follow the same tradition.