Interviewing programmers: coding test example explained
solipsys.co.uk
Interviewing programmers: coding test example explained
1–10 of 178 posts
Re: Interviewing programmers: coding test example explained
#2Re: Interviewing programmers: coding test example explained
#3So when do we get to read part 3? I want to see what "creative" solutions people came up with.
Re: Interviewing programmers: coding test example explained
#4Re: Interviewing programmers: coding test example explained
#5With regards to your trivia question, where you talking about http://decode.org/?q=pbagvahr ?
Re: Interviewing programmers: coding test example explained
#6Re: Interviewing programmers: coding test example explained
#72) Initializing inside the for loop requires C99; is that to be considered idiomatic? I didn't think so. I'll be curious how many submissions were either identical to your suggested idiomatic solution or its K&R equiv:
https://gist.github.com/3f4daf24595788258a01
:-)
Re: Interviewing programmers: coding test example explained
#8Re: Interviewing programmers: coding test example explained
#9Interesting, when I solved the problem originally on my own, I got to the exact same solution just with different variable names and braces. I suspect that this is probably the most common way to solve it.
Re: Interviewing programmers: coding test example explained
#10Am I OCD when I cringe when I see 'p_rite' where he (I think) means 'p_write'? That alone would knock a few points off a candidate doing this test when he's interviewing with me. 'rite' can mean 'write' or 'right' or even 'allright' - why the unnecessary confusion?