4 ms·
Reversing a string was initially a good interview question because in C you can keep probing multiple levels of knowledge with it. You learn if the interviewee
by rdouble 14y ago
Reversing a string was initially a good interview question because in C you can keep probing multiple levels of knowledge with it. You learn if the interviewee knows the algorithm, then if they understand how to do it in place with a pointer, then if they understand the XOR pointer trick. It's not a very interesting problem in a language like Ruby or Python.
- mamcx 14y agoFor that kind of language, what simple question do you suggest? My objective is test if the candidate have basic coding skills...