The problem isn't to generate some code, it's to show us that they'll be able to tackle real and bigger problems on the job (that chatGPT can't fully handle) . Copy and pasting an answer doesn't show that skill