Live data from Hacker News

I cheated on my Microsoft interview (2019)

facet.net

51–60 of 503 posts

Re: I cheated on my Microsoft interview (2019)

#51
When I interviewed at my current company, I was pretty stressed about the interview and watched some Numberphile videos the night before to take my mind off things.

Weirdly enough one of the problems discussed in the interview was about the Josephus problem which has a neat solution in binary [0]. I don’t recall if I ever asked the interviewer whether they also watched the video recently or how they came to think of it.

[0]: https://youtu.be/uCsD3ZGzMgE

Re: I cheated on my Microsoft interview (2019)

#52
post #13

I'm surprised that atm there is a consensus in the comments saying that it's not cheating. Companies ask interviewers to not reveal the questions they had to other candidates. It's likely that his friend was told not to say that. Overall he clearly had an unfair advantage, and even if legally it wouldn't be the definition of "cheating" it would go against the intent of the interview: which is to evaluate candidates i…

It's not even a trick, though. The sum of zero and n is n. The sum of 1 and n-1 is also n. So is the sum of 2 and n-2, and so on. There are n+1 numbers when counting from zero to n, and they can be paired so that each pair adds up to n.

It's a pretty obvious thing that anyone who spent much time thinking about math as a kid or teenager would have encountered, and maybe that's who MS wanted to hire! Especially back then when more of their programming needs dealt with algorithms and mathematical thinking, as opposed to gluing libraries together, I think it makes some sense.

Re: I cheated on my Microsoft interview (2019)

#54

Why are all the other comments so negative and stuck up whether it constituted “cheating” or not? That wasn’t the point of this story. It was a beautifully well written account on luck and how sometimes the things align. The interviewee at the time was receptive towards the kind of questions that are asked at Microsoft and got the right one. Good luck. And then he passed a 6 hr on-site interview as well! No luck at a…

Fully agree. Add to that that the question was super standard, it was quite likely that the candidate would have heard about it one way or another before the interview.

Re: I cheated on my Microsoft interview (2019)

#55

Why are all the other comments so negative and stuck up whether it constituted “cheating” or not? That wasn’t the point of this story. It was a beautifully well written account on luck and how sometimes the things align. The interviewee at the time was receptive towards the kind of questions that are asked at Microsoft and got the right one. Good luck. And then he passed a 6 hr on-site interview as well! No luck at a…

The author prepared with the info he had and was "lucky" that he got a question he knew and had situational awareness to sell it.

It's all positive traits in my book. The discussion about the ways to interview to smooth this out is great but I don't think he should self flagellate or consider that his entire career was predated on this.

If you have the right attitude, prepare and work for it, you find any number of paths to get to the next level.

It's unfortunate that interviews sometimes feel so badly fit to achieve the goal and we should actively challenge whatever practice we have an iterate to make things better for everyone.

Re: I cheated on my Microsoft interview (2019)

#56

Got a chuckle out of the author thinking this was some kind of cardinal sin. The only person "at fault" here is his friend for telling him what interview question he received and I'd expect companies know this happens, which is one of the benefits of having further interview stages in the first place.

I would say the only person “at fault” is the interviewer for using such an awful question. This is precisely the kind of question that gives programming puzzle interviews a bad name. If you’ve heard it before, it’s trivial and proves nothing. If you haven’t, you have to have a clever a-ha moment in order to do anything but brute-force it. “Have you heard this one story about Karl Gauss as a child” is a really terrib…

I wonder what sort of response interviewer would give if asked. So how is this solution used in your company?

Re: I cheated on my Microsoft interview (2019)

#57
Who wouldn’t just sort the array and check it? His solution is very brittle: it fails in so many ways if the data had unexpected properties.

Real world requirements usually contain inaccurate assumptions. He spent days to find a terrible answer, when the obvious solution is much better

Re: I cheated on my Microsoft interview (2019)

#58
I actually cheated on an online assessment for one of my first programming jobs. It was my dream job and really wanted to get into that company. Under the pressure, I just couldn't figure out the solution to the last challenge which was a recursive algorithm. Normally, I would be able to do this but I just got stuck and in a moment of panic, I StackOverflow'd the question on a secondary device which provided me the exact answer. I typed it in with my own style and submitted the assessment.

I got the job, stayed at the company for 4 years with great performance reviews and it shaped my experience as the programmer I am today. I couldn't imagine where I would be without the experience I gained there.

Re: I cheated on my Microsoft interview (2019)

#59
post #13

I'm surprised that atm there is a consensus in the comments saying that it's not cheating. Companies ask interviewers to not reveal the questions they had to other candidates. It's likely that his friend was told not to say that. Overall he clearly had an unfair advantage, and even if legally it wouldn't be the definition of "cheating" it would go against the intent of the interview: which is to evaluate candidates i…

I disagree. He heard about this question beforehand during a casual encounter with an employee. So what? The onus is on Microsoft to have a more robust process than using basic riddles like those.

Would he have chosen to volunteer the info, he would have actively decided to penalize himself against all the other candidates who had also heard about this question before. This would have been borderline stupidity.

Re: I cheated on my Microsoft interview (2019)

#60

Who wouldn’t just sort the array and check it? His solution is very brittle: it fails in so many ways if the data had unexpected properties. Real world requirements usually contain inaccurate assumptions. He spent days to find a terrible answer, when the obvious solution is much better

Maybe those who care about computational complexity for instance?
Post reply on HN