News for hackers. Stuff that matters.
Re:Interviewing programmers: coding test example explained by pbiggar on Wednesday June 09, 2010 @03:00AM (#1416399)
I believe there is a bug here. If the first character is an instance of c, then it will still be copied. For example, calling the function as condense_by_removing ("loup-vailiant", 'l'), will return "loup-vaiiant", where it should return "oup-vaiiant".

(I've not tested this though, I may be wrong.)

There are no comments on this comment yet.