15
suprano
8y

A fellow mate I graduated with recently asked me to help him with his interview sample coding questions. Basically he had to write a function to test different conditions using Java. I wrote the function, pushed it to git and asked him to go check it out. He told me afterwards that, my function was wrong..lol, really? (BTW, I tested it and it produced the results the company wanted)

I asked him to send me his code and all he did was write a "main", created an instant variable and passed it in a switch statement. Mind you, the test condition was big that, switch statement was the worse to use...

I told him to do whatever he wants but he should remember that the question wants a damn function given a certain input. Didn't hear from him again...then later asked me to help him with a SQL question...hah, I didn't even bother looking at the question.

Comments
Add Comment