So if that candidate cannot even answer Easy/Medium Leetcode questions but got offer, then yes. Is that not clear enough?
I meant to say that if a minority gets offer without being able to pass even Easy/Medium questions, then yes it is a diversity hire.
Thanks for the clarification.