Live data from Hacker News

Worst interview questions for software developers

fibery.io

91–100 of 253 posts

Re: Worst interview questions for software developers

#91
post #72

Earlier quoted context omitted.

No, you're not wrong, and are even downplaying how seriously disruptive a serial job hopper is to a company. I have without regrets red-flagged numerous well-qualified candidates who were an obvious flight risk at the companies I have worked at, which were always smallish. Now that big tech is contracting its ranks somewhat, this behavior is going to be even more suspect, because they will not have that refuge so eas…

If you want people to stay, pay them more in tune with what they're worth and they will. This isn't brain surgery.

I've worked at places that pay 7 figures for staff level roles and still have seen people bounce after a year.

Re: Worst interview questions for software developers

#92
post #5

Ok, what are the best questions?

I like to ask about tradeoffs - what kind of tradeoffs they've made and why they chose that; where their opinion lies on the pragmatic vs perfection scale and that sort of thing. Quite a lot of tech work involves making tradeoffs, so they should be able to talk about it easily, and it leads to some interesting discussion as well as giving you an idea of their opinions and decision-making.

There's no need to lie or have a canned response, because tradeoffs are inherently between things which are both desirable.

Re: Worst interview questions for software developers

#94
post #62
post #57

That is a terrible list. Many of those questions are perfectly fine. 10 - Fermi problems. Good to get an indication of a candidate's problem solving skills. 9,8,7,6 - The candidates's motivation, weaknesses, strengths, plans. What's wrong with that? Evidently, you have to modulate the answers somewhat, but the extent to which you do that well is indicative of your understanding of the job requirements, the competitio…

I actually disagree on 10, I just estimated the population of New York then looked it up and was off by an order of magnitude. Good chance I'd do worse in an interview situation than sitting at home. A few more estimates with errors of this size and we've learned what? I have a poor grasp of US census data? Unless this is a realistic approximation of the kind of thing your doing with this job, the time in the intervi…

The goal isn’t to see how close you can get to the correct answer, it’s to see the extent to which you’re able to break down a complex problem you haven’t seen before into steps you can take to solve it.

Re: Worst interview questions for software developers

#95
post #69

Earlier quoted context omitted.

It's never about guessing a correct answer. Eg. if I guess NYC population is 10M, with every 100th household having a piano, I can guess there are 100k pianos in NYC. If each of them needs tuning once every two years, that's 50k tunes each year. That's roughly 1k tunes each week, which, if a tuner can do 2 a day (5 work days per week), is 100 tuners. And then it'd be worth comparing to tuning of venue pianos which ar…

But that still presupposes a whole lot of knowledge about pianos that most people just wouldn't be expected to have. From what percentage of households have them to how often they need tuning to how long it takes to tune one. Unless you're a serious piano nut, you're at best throwing out random numbers, and likely not only don't know the answers, but don't even know what questions to ask. What about peak demand? Do l…

That's exactly what this tests for.

I have no idea what those values are! I am still able to make guesses to show that I can figure out a bunch of variables that affect the final value. And since I am multiplying data that's off maybe even by few orders of magnitude, errors multiply as well: I am aware of how erroneous input data affects the results too.

Is it relevant to software development as a whole? It definitely is.

You've got to provision web workers for new service being developed: you can only (guess)timate number of expected users, you can guess how much CPU time each request will take, figure out cost per unit, look at bandwidth requirements, and make your pick. To improve on your guess, you actually go and measure request times (p50, p99), decide on the number of users you can sustain with your team cost effectively, measure network usage, etc.

Or you need to decide on what type of DB to use? Depending on access patterns (read heavy, write heavy, time series...), data size and scalability demands, team familiarity with different tech, you make a guess at what should work: you can only measure after you've got the system exposed to real, live load.

Now, I still think it's a bad interview question: people can be perfectly comfortable answering above questions, yet not see that they are in abstract exactly the same as the number of piano tuners in NYC. It tests for that generic and general ability to estimate anything, and to break down any problem.

Yet some people get flabbergasted (like you seem to do?), since they think too much about specifics of each of the numbers they use and how wrong they might be. Basically, they have a hard time of letting go of the inaccurracies :)

As such, it's a mixture of tests: supposedly only tests you problem breakdown skills, but in reality tests your confidence in using inaccurrate numbers or lack of problem domain knowledge to solve a problem.

Which makes it a bad interview question unless both of those is what you want to learn about someone.

Re: Worst interview questions for software developers

#96
post #57

That is a terrible list. Many of those questions are perfectly fine. 10 - Fermi problems. Good to get an indication of a candidate's problem solving skills. 9,8,7,6 - The candidates's motivation, weaknesses, strengths, plans. What's wrong with that? Evidently, you have to modulate the answers somewhat, but the extent to which you do that well is indicative of your understanding of the job requirements, the competitio…

> 10 - Fermi problems. Good to get an indication of a candidate's problem solving skills. Well, you could ask them to solve a problem that might realistically come up on the job. There are a lot of professions that require problem solving, but they don't use Fermi problems. Interviewees for car mechanic or doctor positions don't get asked how many piano tuners there are in Chicago. They get asked questions like "A 20…

Many software applications actually require estimates and thinking similar to how you would solve Fermi problems. Like, how many disks are needed to backup our database every week with 6 months retention?

It's actually a very straightforward equation, but way too often people just trial-and-error or make an assumption out of nowhere, instead of plugging in the disk-size, user-count and growth rate multiplied with size per user.

Same goes for understanding what a computer is capable of, instead of throwing in some complex kubernetes cluster because requests are processing slow. If you actually knew the order of magnitude of queries per second that is normal, you would question the application first before questioning the number of servers.

Re: Worst interview questions for software developers

#97
> I would say, “I’ve got bills to pay, and I know a bit about websites. But you can hire me as an assistant to the system administrator too if you want.” Unfortunately, when you give such an honest answer, you’re asked to get the hell out of the interviewer’s face. So you have to cheat. Don’t make people cheat you.

This is important, IMHO. So many companies set a tone of dishonesty and playing-to-the-metrics, starting from the interviews themselves. Which is absolutely not what you want from an engineering organization.

One of the most refreshing things about being a principal engineer at a multinational tech company was interviewing engineering candidates in China. They came across as exceedingly honest about what they're looking for, how they see the company, etc. (I also often find candor from experienced US candidates, especially once they read me as valuing and respecting that, but it didn't often seem the immediate default. I think they're often braced for Leetcode hazing, class shibboleths, corporate theatre, etc.)

Re: Worst interview questions for software developers

#98
Biggest weakness: I'm slow.

Where do I see myself in 5 years: Not here.

How many peas in pod: Don't use Quicksort (stole that answer form Obama)

Why should I-- : I've traversed your red/black tree and found the jade monkey, I have proven that I'm worth more than the position pays therefore you will need to increase said position's compensation, and I'm very hungover. I did all of this while wicked hungover. Do you have a beer for me or can I leave now? I have a lot of dogs to count for my next interview.

Re: Worst interview questions for software developers

#99
post #6

4. Why do you change jobs so often (so rarely)? How does that matter? If I am a match for the company in terms of qualifications and personal qualities, how will my job history and reflection help? I changed jobs every year or so. Is that “often” or “rarely”? What’s wrong with changing jobs frequently? It is actually important to ask this of a candidate who seems to frequently change jobs. A hiring manager may not wa…

That's a fine question. The "what's with this gap in your resume" makes me want to slap someone. I didn't feel like working and I am compensated well for my skillset that you seek hereto, so how about why haven't you taken a break recently, son? Huh? Too busy catching up on the Joneses to keep yourself relevant? Thought so.

Re: Worst interview questions for software developers

#100

> How do you see yourself in five years? Man, this question. I was asked this question in an interview for a startup. I gave the regular answer that was expected of me. The interview went well, and at the end when the interviewer (who was the co-founder) asked if I had any questions, I turned this around on him: "where do you see [company x] in five years?" He laughed and talked about finding product-market fit and g…

It's a fine question to chew the fat with, and there _are_ wrong answers, needn't I go in to those. Probably the best answer: even better off, more happy, more fulfilled, and not worrying about where I will be in the next 5 years.
Post reply on HN