Once at an hackaton a computer science phd student ended up in my team.
He was unable to execute a .py file.
Why didn't you help your teammate?
A PhD doesn't mean that a person knows everything. It means they made progress in understanding in a narrow area. Might not have included Python.
He was beyond help. That was far from being the only issue.
That's judgemental. Collaboration couldn't have hurt.
Now i for one dislike leet code and coding challenge interviews. I think it's silly, plain and simple. What i would look for instead if i was an employer would be curiosity. Nothing is more important than insatiable curiosity. A curious employee will learn everything about your whole stack in the first week... just out of curiosity. And if they do hit a leet code like problem during day to day work you best believe their curiosity won't let them rest until they've solved it, be if with prior knowledge and experience or without.