I'm not in a field where leetcode is the deciding factor but there's similar gamified focuses. The idea being you can pick out self-motivated autodidacts with those kinds of challenges/experience in the challenges, then fill in the connective tissue later.
This was just one example of a capable intern who was tripped up by file types.
This was just one example of a capable intern who was tripped up by file types.