> If you are a competent programmer, they aren't usually that difficult.
That's reaching.
Most capable programmers may be confused or be blank when they are forced to solve a time boxed puzzle. They may even wrongly conclude that they are incapable of doing it. But, in reality it is just their mind is not stimulated/focused enough to solve that particular version of puzzle. When their mind is free, they could solve anything similar even from first principles.
OTOH, leedcode problems themselves fall under a predictable pattern, and by memorizing(familiarizing) certain recurring patterns, you can give the impression that you have thought through the problem. This is what most recent college grads do - Hey, this is easy, let us find a pivot for this quick sort problem.
Original thinkers might even question why you need a quick sort for this problem (for e.g Homebrew Max Howell inverting the binary tree). But then clock is ticking and you should solve the problem or you cannot pay your bills.
Leedcode is an approximation that works for companies. It does not say anything about the capability of the person, just their preparedness to be evaluated on this specific criteria.