I applied for this job and was given an interview. The HR person told me I would be working on the problem in Eclipse and that any object-oriented programming language would be compatible. I asked her if I could use Python and she said that was fine.
I had been preparing for the interview in python and was looking over the python syntax. However, when I got there, (she gave me a laptop to work on) they pulled up eclipse and the project was set up in Java. She said, "You can use any programming language you want" to solve the problem.
The problem was set up in the format where all the code was written for you and you just had to write a function. I had no idea how I would convert everything to python. She basically left the room for 30 minutes (the time I was given to do the problems) and I just said, "screw it, I'll solve it in Java".
I didn't do the best on it. I did end up telling her the situation after the test. She has no programming experience so she could not tell me how I was supposed to convert it. But she said (and confirmed with her coworkers) she's had other interviewees do the problem in python and c# and what not and they've done fine.
I realize I probably should have said something at the beginning of the interview. I also just want to know if I am actually the one in the wrong. Maybe there really is a way to easily convert the project to python.
I still consider myself to be pretty young in my programming career so maybe I am missing something. Am I the one in the wrong or is she the one in the wrong or are we both responsible? Any advice?