Again, the IQ being measured isn't "Are you able to invent A* search during the interview?" but rather "Can you memorize and apply these algorithms?".
Believe it or not, most humans on earth can study as long as they want for leetcode and still won't do well on them. If you can drill and study for them and your scores improve... bam: that's the IQ test.