Live data from Hacker News

That time when I failed the Microsoft interview

ochagavia.nl

201–210 of 322 posts

Re: That time when I failed the Microsoft interview

#201
post #81

Just don't ask brain teasers when you conduct an interview; I believe they give no valid signal at all, and I also believe Microsoft does not ask them anymore. The coding questions that require an "aha!" moment are very similar to brain teasers, and should also be avoided. When I conducted interviews for FAANG, I asked somewhat simpler coding questions, something around DFS and/or topological sorting (without calling…

In my corner of the Faang world it's been 20 years since that sort of brain teaser was asked. We switched to coding problems that require dynamic programming!

Re: That time when I failed the Microsoft interview

#202

> 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 q…

[deleted]

Re: That time when I failed the Microsoft interview

#203

Once long ago when I interviewed at Apple I was asked the classic "fork in the road, two guys, one always tells the truth and one always lies" riddle, with complete earnestness as far as I could tell. Possibly the single worst interview question I've ever been asked. Of course I told the interviewer I'd heard it before and then gave the correct answer. In my case we just ended up chatting about previous experience in…

This reminds me of the weirdest interview I ever had (boutique software agency, maybe 30 devs). I walk in, and the CEO's secretary hands me an IQ test and says I have one hour. I do the test, then I meet the CEO and we chat about general topics while she grades the test nearby. Then she announces my IQ, and the CEO says "hmm, yes, that's above the minimum I'd consider for a developer." Then for the last few minutes h…

At least he didnt came out with a measuring tape and tried to measure your skull.

Re: That time when I failed the Microsoft interview

#204
My current stumbling block is the "design" interview. I get what they're going for and what I have to practice, but as someone with 25 years of experience I just can't help but have my experience creep into my thoughts.

Chief among those thoughts is that we can't design a clearinghouse for a banking system that already has 11 components and the request is just two simple sentences asking for a design. I apparently have an hour to complete this design task. An hour is so laughably small a time to get onto the design phase.

Again, I understand what they are going (I'm just not practicing it) for but it all feels like they're hiring for tennis but interviewing for ping pong.

Re: That time when I failed the Microsoft interview

#205

> 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 q…

> Tbh, I think it's a terrible question. I think it's a terrible _interview_ question, partly due to it's "IQ test" nature, but mostly because it's a pretty hard problem and I really wouldn't expect someone to be able to just spew out a solution the first time they hear it. Of course, the process would be more about the interviewer observing your thought process, seeing how you develop a notation for solving this thi…

[deleted]

Re: That time when I failed the Microsoft interview

#206

A friend told me about his AWS interview experience. It was a case study describing a potential client, their needs, limitations, etc - trying to be “realistic”. In the end it came down to either pressuring the client to embark on a complex cloud transition in time for a major sports event (that was a make or break event for the customer) or, as my friend recommended, start with a PoC but do the risky transition afte…

> My takeaway was that interviews are a game with their own rules, and you have to play by those rules

But you don't get to know the rules.

Re: That time when I failed the Microsoft interview

#207

Earlier quoted context omitted.

You drop a microscopic black hole off a boat into the lake. Does the water level increase or decrease?

The water level decreases, along with the shore and anything with it falling within the event horizon. Any other apocalyptic brain teasers?

You invert the phase of the Higgs field within a basketball. What happens?

Re: That time when I failed the Microsoft interview

#208

A friend told me about his AWS interview experience. It was a case study describing a potential client, their needs, limitations, etc - trying to be “realistic”. In the end it came down to either pressuring the client to embark on a complex cloud transition in time for a major sports event (that was a make or break event for the customer) or, as my friend recommended, start with a PoC but do the risky transition afte…

I have kind of the same personal experience - a couple of days answering questions about the scalability and resilience of a fictional web app and enterprise integrations. I’m very much a generalist and kept to standards and terms not specific to AWS infra. They ”passed” me but wanted a follow-up after going through some training packages to make sure I could translate everything to AWS. At the time I was leaving a b…

> I don’t want to sell stuff, I just want to build things.

While this resonates with me and probably the majority of the HN readership, I also want to be paid (handsomely) to build things. But in every case where someone pays me to build things, they want to sell it to someone (if they haven’t already sold it before I built it).

I think the important difference is whether you believe the thing you’re building is good for the people that are buying it. Never have I ever seen vendor lock-in become a net benefit for those who have found themselves in its grasp.

Re: That time when I failed the Microsoft interview

#209
post #127
post #81

Just don't ask brain teasers when you conduct an interview; I believe they give no valid signal at all, and I also believe Microsoft does not ask them anymore. The coding questions that require an "aha!" moment are very similar to brain teasers, and should also be avoided. When I conducted interviews for FAANG, I asked somewhat simpler coding questions, something around DFS and/or topological sorting (without calling…

> something around DFS and/or topological sorting (without calling it by name, of course), because those are thing which you might actually need to implement at work: people sometimes traverse JSONs, and people sometimes resolve dependencies. No one has ever told me "oh, I know this problem, it's DFS", because surely I know they know it. Well, I've been coding for 15 years (of course walking through data structures,…

That might just be my world in which the acronym DFS has a single well defined meaning; but of course the interview question never says "implement DFS", it will be a kind-of-real-life coding exercise that can be solved by a graph traversal, like checking if some nested structure has a loop.

Re: That time when I failed the Microsoft interview

#210

Earlier quoted context omitted.

What is "abstract CS" about binary trees and serialization?

I think it's because most of us don't do CS once we graduate. We build APIs and websites which don't involve CS at all. It barely involves engineering. lol. No one uses binary trees or some manual form of serialization. They use "superlib.search(arr)" or (seriliazer.parse(thingy)" and that's about it. No one cares about what it does. They just know it does it faster than something they could write. The only places th…

I'm not some Google/Microsoft/whatever engineer who's been working on highly scalable, highly available systems. I've mostly worked in consulting on small projects. I have never not had problems with the defaults on any of those sorts of libraries. I've almost always had to roll my own graph manipulation and heavily customize any serialization system I've used. And when I do so, because I've gotten good at doing it (in particular, I don't think of the graph stuff as being hard at all), it makes tons of other stuff inside around the project a lot easier.

I feel like people bend themselves out of shape trying to avoid these so-called "complex" or "esoteric" "only theoretical Computer Science" topics. You don't need a general purpose tree or graph manipulation library. Trying to make one ends up creating something far more complex than necessary and all you succeed in doing is making the calling code maybe two lines shorter but also not easily portable between projects, and also at a huge maintenance cost. It would be like trying to make your own, bespoke "Collection handling class" because you think trying to keep track of arrays and lists and dictionaries and sets and queues and stacks is too "complex, esoteric." No, you end up creating something complex and esoteric in the attempt to try to handle the erroneously identified "complexity."

In general, I don't think you can argue definitively on the uselessness of a piece of knowledge from a standpoint of ignorance of that knowledge.

Post reply on HN