I am not hiring but I have discussed with hiring managers and interviewers and they said there are a lot of candidates who really cannot code almost anything or are completely lost even with most basic things
I was in this boat a few months ago, doing a lot of exercises on leetcode legitimately helps, because you can quickly type an ~80-90% solution immediately from memory, and you have a lot of time left over to finish the remaining portion. It also looks super impressive from the hiring side.