I think this person was not rejected for their coding. They were passed over for an MS or PhD with similar skills.
It is necessary to do well on coding interviews, but not sufficient. optimizing for coding interviews is the wrong approach.
It is necessary to do well on coding interviews, but not sufficient. optimizing for coding interviews is the wrong approach.