I think this is a reason why Leetcode style interviews are popular. They remove at least one type of bias of race - the ability to solve coding problems. If you can solve Online Assessment, Phone Assessment and Onsites, you keep moving on to the next round, regardless of your race or ethnicity. It is a way for companies to claim that there is no bias in hiring.
well, no. First companies usually have separate interview for 'cultural fit'. Second, the thing with discriminations, they can be quite hidden. The 'leetcode style tasks' can be performed very differently. If I as interviewer don't like you, I can do a lot to make sure you don't pass it. Starting from making question harder to understand and end with plain 'strong not hire' for vague reasons even if you did well.
In the end - many companies aren’t super rigorous about whether your code that was written passes a test suite and compiled correctly.
I’ve known a few (token) people who have said that they were able to just “talk their way out of having to do leetcode” when presented with the problems. In my personal experience - there’s no way to do that at FAANG and crew if you’re not part of a special group. You either solve all problems asked optimally while not being part of a group the person hates or you don’t pass.
It’s no coincidence that certain races consistently give me leetcode hards as I’m not in their specific group. It’s also no coincidence they still give me a no when I solve the problem optimally when others give me a yes. ;)