Knowing that someone has the ability to grind leetcode for a few months is a pretty good signal of high conscientiousness. That's useful.
If they can use what they learned to solve variations on the problems they previously solved it's probably a good signal of above average intelligence. That's also useful.
If they can use what they learned to solve variations on the problems they previously solved it's probably a good signal of above average intelligence. That's also useful.