It's not always the official 'LeetCode', but algorithm tests like it. It's clear that these tests are to filter out older tech employees, because most never had to take these when they were in college. I've also passed every test I was given, so it's not me being bitter that I don't have the required skills.
It's a symptom of the ageism issue that is so prevalent in the software engineering world.