Worst candidature experience.
I was a asked a question for which I have written a CODE on the paper.
Now ,the interviewer identifies hilarious bugs.
1.You did not print the message to the user.
2.You logic is right ,but you should declare the variable out side of the loop though it works it should be global. May be because he is global?
He speaks the question for 4mins and want me to remember each and every point spoken, like where is the message to user . Am sure if I would I added a system.out.println I would have told,where is the user name,and then county and then company name and all these are called as bugs ,just learned from experts. This message has no relation with the logic asked.a
So now the new definition of a bug in the program is,if you miss a print statement on a paper based coding test.
I was asked only one question and was debated,on it may be interviewer was not happy with me because according to him,a logic is no complete with a right message.
Through out the debate I was given weird gesture,like tongue,wink and very unprofessional .
Tip : If you go for interview ,make sure you write the question in written and verify with the interviewer whether he meant the same because he can flip you down at any point. and yes dont miss to use print statement excessively ,your interview depend on it.
Well this is my experience ,not everyone will be interviewed by such professional. Did I just say that. !