What’s strange is that people think “knowing how to invert a binary tree” is more important than “knowing how to program”.
Yes, I have a CS degree.
Yes, I have a CS degree.
More important: Knowing how to work with other people
I don't care how well you can code, if you can't interface with people and know how to switch up your lexicon there's going to be a problem in a lot of teams. I'm not a programmer, but when I'm in interviews for them I look to see how well they can interact & discuss their projects with me without divulging into intense CS discussion.
Problems exist at many levels of complexity and they can be solved in many different ways. Clever architecture often beats clever programming.