Live data from Hacker News

That time when I failed the Microsoft interview

ochagavia.nl

21–30 of 324 posts

Re: That time when I failed the Microsoft interview

#21

Sadly I've seen this kind of interviewing from lots of places; maybe it's a technique they teach in college or something. Interview questions like this are useless as they are not an accurate approximation of a real work scenario. I've frozen up at a whiteboard in an interview before, and then figured it out on the drive home. The best approach I've found is to do a send home quiz, and then ask them questions about t…

Please no. No and home quizzes

Re: That time when I failed the Microsoft interview

#22
post #19

Earlier quoted context omitted.

> I can remember some obscure AIX partitioning-related fact Now you have my attention. I'd love to read about some of these trivia.

Not the GP, but I have one non-partioning AIX trivia I discovered by accident. Turns out that malloc(0) returns NULL on AIX, but non-null on Linux, SunOS, and Irix. (I was surprised multiple ways on that one!)

That one has bitten me more than once

Re: That time when I failed the Microsoft interview

#23
As I have grown older, I have realized dead-honesty is a false ideal to live by, especially when it comes to being rewarded in the capitalistic world. I know someone who reached executive level position in a major company and all of his career progress can be traced back to lying on his resume about a NASA internship he never got, which he conveniently purged later from everywhere.

I wouldn’t go that far, but I think it’s perfectly fine to reverse-engineer the interview game and reap the rewards. There’s no reason to feel guilty about it.

Re: That time when I failed the Microsoft interview

#24

Life lesson learned for OP, when it comes to tech interviewing: (1) the riddles you already know you answer after some staged deliberation to pretend you are working it out from first principles using your genius brain (bonus points if you can work "first principles" into the conversation). (2) The riddles you don't know the answer to are the ones you say you already read in a book or online and repeat this until you…

[dead]

Re: That time when I failed the Microsoft interview

#26
post #19

Earlier quoted context omitted.

> I can remember some obscure AIX partitioning-related fact Now you have my attention. I'd love to read about some of these trivia.

Not the GP, but I have one non-partioning AIX trivia I discovered by accident. Turns out that malloc(0) returns NULL on AIX, but non-null on Linux, SunOS, and Irix. (I was surprised multiple ways on that one!)

Sometimes I think "it's a UNIX system, I know this" but I've been caught by subtle differences before too.

killall is very different between Linux and Solaris, for example. I would rather have not found this out on a client machine for the first time.

Re: That time when I failed the Microsoft interview

#27

Counterpoint to many responses here - when I have interviewed people, it’s a really positive signal if the candidate says they have already seen a problem- the we can move onto something more interesting! Not solving does not mean failure either. As a candidate myself I always mention if I have seen similar problems, such as finding primes - real example, and I was hired on that loop at Microsoft! On the other hand,…

I'd preface the solution and the key point before mentioning that I'd seen this problem before and then further ask if they still want me to code up the solution. This eliminates the case that I, the interviewee might be bluffing. Also they might just be interested to know if you can think on your feet by then adding a twist later. who knows not my call.

It would be dumb if the next one they throw at me is one i've also seen or is ridiculously hard for an interview. Then i'd question the value of my honesty.

Re: That time when I failed the Microsoft interview

#28
I interviewed for an internship in 2006 and didn't get any brainteasers, but I got some pretty interesting questions that were somewhat computer science-related:

1. Suppose you have a binary tree (NOT a binary search tree) where each node with pointers to its parent and children. Given pointers to two arbitrary nodes in the tree, find their lowest common ancestor.

2. My favorite: given a uniform random number generator mod 5, create a uniform random number generator mod 7

3. Forgot the exact question, but something along the lines of: suppose you want to keep track of function arguments as you call them. How do you do that?

I got (1) and (2) and utterly failed (3). (3) is entirely trivial and basically a stated fact if you know how anything about how operating systems work, but I was a freshman in college and didn't know that function arguments got pushed on a stack in memory, so I was totally lost.

Re: That time when I failed the Microsoft interview

#29
> You have 12 marbles and a balance scale. One of the 12 marbles is inconsistent with the others, meaning it could be heavier or lighter than its peers of normal weight. You are allowed to use the balance scale exactly 3 times to identify which of the 12 marbles is irregular AND determine whether it is heavier or lighter than normal.

I also got this riddle, in 2015. I couldn't solve it. Tbh, I think it's a terrible question. There isn't really a step-by-step problem solving process, but you just need to have a "leap" to realize you can weight the marbles in groups of 3. I also got rejected. It's crazy to get rejected from a one-question riddle like this

Re: That time when I failed the Microsoft interview

#30
post #19

Earlier quoted context omitted.

> I can remember some obscure AIX partitioning-related fact Now you have my attention. I'd love to read about some of these trivia.

Not the GP, but I have one non-partioning AIX trivia I discovered by accident. Turns out that malloc(0) returns NULL on AIX, but non-null on Linux, SunOS, and Irix. (I was surprised multiple ways on that one!)

Now that you know, can you conceptualize reasons why each pattern might be a correct preference? Among those reasons, which would you prefer as a system?

^^^ THAT is how an Interview Question should work around this factoid.

Post reply on HN