interviews
we make our interview candidates write code. simple stuff. like strlen and atoi. and we have standard solutions. and then we have my solutions. for example my strlen uses 25 characters between the curly brackets. int strlen(const char *s){return*s?1+strlen(s+1):0;} can anyone do it in fewer characters? my atoi checks for null pointers, leading white space, leading + and -, divides the digit string in half, recurses on each half, and combines them while checking for overflow, to return the right answer. i didn't do each part in its own thread but i thought about it.