One could use any number of LLMs on a take-home problem so in-person interviews are a must.
Why are we still interviewing like its 1999?
This type of individual is more likely to follow orders and work hard - and most importantly - be like the other employees you hired.
Now it means company is stupid.
I try give positive feedback for candidates who didn't know the problem but could make good use of hints, or had the right approach. But unfortunately, it's difficult to pass a Leetcode interview if you haven't seen a similar problem to what is asked before. Most candidates I interview nowadays seem to know all questions.
That's what the company has decided so we have to go along. The positive side is that if you do your part, you have good chances of being hired, even if you disagree with the process.