you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years 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.

  • source
  • parent