> On this day, the applicant came up with this:
>
> int abs(int input)
> {
> int value = 0;
> for (int n = input; n != 0; n++)
> {
> value++;
> }
> return value;
> }
That's a pretty epic fail. The rest of the interview must have been fun :-)
Post a reply to this message
|