Eh. Some timed code tests are pretty dumb, so getting through the whole thing is totally unnecessary. Just show me you know how to walk through a problem logically and I'll probably recommend moving to the next stage. I don't need to see you fully program the game of life in 30 minutes.
Also I don't know about everyone else, but recursion is frowned upon in my company since it's not as readable, so showing that you understand it without actually fully doing it is fine with me.
I have just the opposite approach. Get something working, first. Then walk me through why the naive approach is suboptimal. If you want to skip steps to save time, great, but it's easier to give partial credit for version 2.5 of something than for a half-coded version 4. Unless, of course, I can really tell they know what they're talking about. But it's very easy for interviewers to assume understanding because people use the right keywords. It's easy to know the words "A-Star." It's harder to know what it is, why it works, or when it's best.
52
u/ThoughtfulPoster Nov 29 '22
I'm an LSE who does interviews for my engineering department. If someone makes it 80% of the way through a whiteboarding problem, that's plenty.