News for hackers. Stuff that matters.
Re:Red flags I saw while doing technical interviews by BeetleB on Tuesday September 15, 2020 @04:01PM (#24486063)
I have to wonder if you know what fizzbuzz is. It's not your typical Leetcode question where you need to know algorithms, etc. It's a lot easier than perhaps the easiest Leetcode problem.

Fizzbuzz wasn't designed to test people's prowess in coding. It was designed as "This is one of the simplest possible programs one can write. Can this candidate do it?" While many people may go through their whole career not dealing with dynamic programming or most data structures, almost all programming is fairly similar to FizzBuzz.

As an analogy, it's like giving someone who claims to be a circuit designer a basic circuit where he's failing at Ohm's Laws or Kirchoff's Theorems. Or an electromagnetics person who cannot integrate a basic polynomial.

If you have test anxiety that's one thing, but if your reason is "I need time to think this through", it's a huge red flag. Kind of like the person saying he needs to consult a table of integrals to integrate x^2.

I'm against intense Facebook/Google style whiteboarding. Fizzbuzz is at the extreme other end of intensity.

Re:Red flags I saw while doing technical interviews by cellularmitosis on Tuesday September 15, 2020 @10:54PM (#24489113)
> It was designed as "This is one of the simplest possible programs one can write.

Weeellll, I mean it doesn't totally succeed in meeting that design criteria. Fizzbuzz weeds out three kinds of candidates:

    - candidates who are (currently) unfit for any programming job
    - candidates who freeze up during the interview
    - candidates who have never used the mod operator
I fault fizzbuzz a bit, because there are candidates in that last category who have several years of experience successfully duct-taping together libraries to meet product requirements, yet panic because they've never had to find the remainder of division in their language of choice. They might be fine for the rec you have open.

A fizzbuzz with fewer false-positive rejections might be something like "implement multiplication without using the multiplication operator".

edit: Oooh! "How many ways can you implement multiplication" would be a much more interesting warm-up/weed-out question! Allows the quality candidates lots of room to shine.

Re:Red flags I saw while doing technical interviews by BeetleB on Wednesday September 16, 2020 @12:33AM (#24489557)
I'm sure there exist jobs where its OK not to know that a mod operator exists, but none of mine were of those kind. I'm pretty sure my experience matches the majority by a pretty large margin.

> A fizzbuzz with fewer false-positive rejections might be something like "implement multiplication without using the multiplication operator".

While possibly a fair question, this is a whole order of magnitude more difficult than FizzBuzz. It requires more domain knowledge as well (lots of people have forgotten how to multiply).

> Allows the quality candidates lots of room to shine.

But this is precisely the opposite of FizzBuzz. The goal is to weed out horrible candidates, not identify great ones.

Re:Red flags I saw while doing technical interviews by cellularmitosis on Wednesday September 16, 2020 @05:00AM (#24490845)
> this is a whole order of magnitude more difficult than FizzBuzz

Sorry, in my mind the input was restricted to positive integers. My fault for not making that clear.

    def mul(a, b):
        accum = 0
        while b > 0:
            accum = accum + a
            b -= 1
        return accum
You are correct that accounting for floating point would make this more complicated than fizzbuzz.

> But this is precisely the opposite of FizzBuzz. The goal is to weed out horrible candidates, not identify great ones.

This accomplishes both at once. That's a super set, not an opposite.

Re:Red flags I saw while doing technical interviews by joks on Wednesday September 16, 2020 @12:11PM (#24494025)
It's even easier to do it with the inclusion of non-integers, though - `prod = a / (1 / b)`

Granted, that may be counter to the spirit of the question, but it's a valid answer lol

Re:Red flags I saw while doing technical interviews by danmg on Wednesday September 16, 2020 @10:57AM (#24493288)
When I'm interviewing people I'll ask a fizzbuzz level question. Not fizzbuzz itself though. I'll pick something that just has them doing some basic operations with strings and arrays like reversing the words in a string.

I'll give an easy question, but I'll have them do it ssh'd on to a remote machine. I'm more interested if they know how the environment works and how much coaching they need to navigate around.

Re:Red flags I saw while doing technical interviews by jpindar on Wednesday September 16, 2020 @01:36AM (#24489855)
You don't need to use the mod operator to do fizzbuzz.
Re:Red flags I saw while doing technical interviews by cmrdporcupine on Tuesday September 15, 2020 @04:08PM (#24486149)
Fair enough, I was being inflammatory in my response. I would not fail fizzbuzz.

But I'd probably want to, just to piss off this person (the throwaway account who came on here to argue...)