I am not very fan of programming tests on interviews, but this time I got the third time a code challenge, which is related to the business area of the company. My previous experience is following.
Company 1: I made the complet solution (2 days). I was 99% right, that this solution was of a good performance and surpassed the expectations. I supplied performance tests as well, along the source code. The company replied that I will not proceed. I think they just used me as a dirty b....h.
Company 2: I made everything from the assignement + bonus points. I provided just a performance tests and web interface to the solution. I was insisted multiple times to publish the source code but I always refused to do it so. I got an offer, but at the end I refused it.
Company 3: I would really like to work in this company. They gave me a code challenge, that is again related to the business and must be of a good performance and the source code is compulsory. However, questions from the recruiter about my experience and why I would to work there, were really superficial and she run straight to the sending of the code challenge. Weird.
I mean guys, why do they do it actually? What to do in such cases? I am not doing a free consultant to anyone, but I would like really to get this job at Company 3 and I do not want to sound anyhow rude to not publish source code.