And that reason was legal precedent: it's illegal to administer an IQ test as a condition of employment. So they administer a disguised IQ test in the form of Leetcode questions instead.
Huh? They used to ask brain teaser like questions, not anything that I would consider to actually be an IQ test or really even all that close to one in a legal way.