LeetCode is popular, not because it works. Nah, it's for another reason.

It makes the interviewer feel good.

There's comfort in having a "objective" measure. A binary pass/fail or even a grade. It reduces the anxiety of making a hiring decision, makes it seem closer to "fair".

We choose the metric that's easiest to measure, not the one that's most predictive of success. Then we convince ourselves it's the right metric because it's the one we have data on.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/raiderrobert/statuses/115672981686651847 on your instance and quote it. (Note that quoting is not supported in Mastodon.)