Getting an offer is not just a matter of solving a programming problem. It's about how you communicate. And, of course, if you're a brilliant jerk ability doesn't matter: you're not getting hired.
If you're not getting past the interviews despite being a strong programmer, you may want to really think deeply about how you're communicating with your interviewer. Remember, the vast majority of people who are getting offers aren't women or minorities so that's probably not what's blocking you.
I got rejected....
I asked for feedback from the recruiter. Apparently I needed to do 2 Medium questions in the allocated time. I solve the first Medium question in about 30 mins, and there was only 10 mins left for the 2nd one so the interviewer didn't bother to ask me the 2nd one.
The scenario that I just told you above is not unique. Venture enough to cscareerquestions and Leetcode forum you'll be surprised to see many many worse experience than this.
Can you help me in explaining why? I don't have the intention of looking down on people. I'm just gathering data. If I can find a reasonable explanation then I want to take a look at it, and learn from it, and see where did I do wrong, so I can improve and pass the interviews next time.