This report (and others) suggest companies are hiring those with non-CS degrees. If this is the case, then how do self-taught or non-CS majors get hired when the bar to entry is solving medium to hard level leetcode problems?
A part of the puzzle might be that being good at solving interview questions is orthogonal to having CS coursework under your belt. I can speak anecdotally from my own experience in that I didn't get good at those types of problems until I spent my own time working on them.