Live data from Hacker News

I cheated on my Microsoft interview (2019)

facet.net

441–450 of 503 posts

Re: I cheated on my Microsoft interview (2019)

#441

Earlier quoted context omitted.

What was the point of the question? That would help determine whether or not this was cheating. Normally with things like this the interviewer claims to want to "see how you think." If some prepared rote answer passed this interview phase, at the very least, the interview failed to meet its stated goal. What's the difference between cheating and what's needed for your version of "success?" Can someone cheat their way…

These sorts of screener questions are at the level of "can you write a simple function and can you answer basic questions about it" A surprising number of candidates I've seen interviewed cannot do the following, my code screener question: "Write a function that, given a set of integers, determines the amplitude (difference between biggest and smallest) of the set." This is literally max(set) - min(set) in more words…

>These sorts of screener questions are at the level of "can you write a simple function and can you answer basic questions about it"

Some interview questions are like that, but this wasn't one of them. This is not "implement simple functionality" -- for that, you would ask e.g. fizzbuzz or "reverse the elements of a list".

This one requires you to work out something clever that reduces the time needed compared to the brute-force solution. You'll notice that, in this case, even someone at the end of a 4-year computing degree had to think about it for a while to figure out the shortcut.

Yes, once you have the insight that it can be reduced to max(set) - min(set), then it's a matter of writing a simple program. But obviously, this question isn't testing whether you can implement max(set) - min(set) when told to do exactly that. If that's all they were testing, they would have asked him that directly!

It is, rather, to test whether you are generally smart enough to, within the time of the interview, think of such a solution when it wasn't handed to you. To present yourself as having come up with that insight on the spot, when it really took you hours, is a kind of deception.

Re: I cheated on my Microsoft interview (2019)

#442
post #403

Earlier quoted context omitted.

The only mistake the OP made was in acting like they hadn’t seen the question before, but other than that everything was fine. These code screen questions are usually a basic gut check and the real evaluation comes later at the on-site. Honestly the interviewer did a bad job though because the question clearly gives an advantage to someone who has seen it before. Once I had a candidate struggle with my screening ques…

There's a famous story about Gauss as a child (age 7 in some accounts) figuring out this trick when a teacher who probably wanted a break had the students add up the numbers from 1 to 100. He saw that you could combine numbers from the ends: 1+100=101, 2+99=101, and there are 50 pairs, so the answer is 5050.

There's also the joke that John von Neumann was given this task and "cheated" by just instantly adding all the numbers in his head the naive way, without having to write anything down.

Re: I cheated on my Microsoft interview (2019)

#443
post #134

One time a company I interviewed with asked me obscure algorithm questions about playing card shuffling. As a former professional magician I knew the optimal answers instantly and could jot them down straight away. They had allocated an hour for answers I wrote in a few minutes. I could have told them I had a massively unfair advantage, but I did not bother. They were visibly impressed and told me I was moving on to…

I had the dunce's version of this. They asked me if I had seen the problem before. I (truthfully) answered yes, and they moved on to a different problem (which I aced).

I didn't tell them that I completely failed when given the original problem and didn't learn the right way since. And have bad memories of doing it and would probably panic if I tried again during that interview.

Re: I cheated on my Microsoft interview (2019)

#445

Earlier quoted context omitted.

Tech is one of the biggest success stories, if not /the/ biggest, of upwardly mobile meritocracy. Anyone with an internet connection can learn what they need on their home computer and probably make it if they have the ability and time. I hate this idea that everyone who succeeds does so only or even primarily by chance and privilege. Obviously those things will help you, but everyone I know who's tried in life has s…

You provide anecdata of your experience but no evidence of substance really. Which is fine as an opinion, but not when you make claims about others like > the people know who espouse all this "the system is rigged, everything sucks, full communism now" stuff never had any drive or patience to do or learn anything and just want to put in the least effort possible to smoke weed and sit around like a vegetable all day.

> You provide anecdata of your experience but no evidence of substance really.

If you are a brilliant programmer in the US what short of a crippling health/personality/relationship issue would prevent you from landing a highly paid job?

Re: I cheated on my Microsoft interview (2019)

#446
post #281

Earlier quoted context omitted.

https://mathimages.swarthmore.edu/index.php/Rope_around_the_... > Although finding the answer requires only basic geometry, even professional mathematicians find the answer strangely counter-intuitive. I guess the more a visual person you are the more counter-intuitive it is. That only 6 feet of rope is needed to widen the radius of Earth at every place at continents and oceans ect at a whole 1 feet seems crazy to me…

sure, the answer might seem counter-intuitive but the method to find the answer is not, as long as you know the connection between a circle's circumference and its diameter I still fail to see how this is relevant for a technical interview, assuming that we're trying to hire a software engineer. Fun, but not relevant.

No post body was provided.

Re: I cheated on my Microsoft interview (2019)

#447
I wouldn't consider this cheating, I would rather call this preparation. Is looking at question banks before an exam considered cheating? I think this is in the same vein. Interviewers are people too, everyone knows there is a finite, albeit large, pool of questions to ask. If I ever see a candidate that has prepared to the point that he/she can code up the answer to the majority of leetcode style questions, I'd hire them without hesitation.

Re: I cheated on my Microsoft interview (2019)

#448
post #442
post #403

Earlier quoted context omitted.

There's a famous story about Gauss as a child (age 7 in some accounts) figuring out this trick when a teacher who probably wanted a break had the students add up the numbers from 1 to 100. He saw that you could combine numbers from the ends: 1+100=101, 2+99=101, and there are 50 pairs, so the answer is 5050.

There's also the joke that John von Neumann was given this task and "cheated" by just instantly adding all the numbers in his head the naive way, without having to write anything down.

The traditional story is about calculating the distance a fly (or bird?) travels if it goes back and forth between two trains. https://jcdverha.home.xs4all.nl/scijokes/10.html#Neumann_4

Re: I cheated on my Microsoft interview (2019)

#450

Earlier quoted context omitted.

Just because you made it in your specific case (however you seem to define this) doesn’t mean we have meritocracy.

Tech is one of the biggest success stories, if not /the/ biggest, of upwardly mobile meritocracy. Anyone with an internet connection can learn what they need on their home computer and probably make it if they have the ability and time. I hate this idea that everyone who succeeds does so only or even primarily by chance and privilege. Obviously those things will help you, but everyone I know who's tried in life has s…

I was in your situation and then I came down with MS when I was 26. How am I to succeed on my merit when my medication costs > 300k/yr and I have no idea how long I'll be able to work (or what I'll be able to do for the scope of my career)?

Can you tell me what the correct Konami code is for success here?

Post reply on HN