• hatchet@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    8 months ago

    I think you can probably make the question a lot more interesting by asking them to implement max without using any branching syntax. I’m not saying that is necessarily a good interview question, but it is certainly more interesting. That might also be where some of the more esoteric answers are coming from.