Hacker News new | ask | show | jobs
by lokar 1627 days ago
The site has a detailed spec and test input/output, you can build and run the tests

The standard library is to sort, not take the median

1 comments

Well it does seem to be a cute filter for Python programming ability in that they definitely need to have taken a tour of the modern standard library to come up with

  min(x)
  max(x)
  statistics.mean(x)
  statistics.median(x)
But still - no 'for' loops? No if-then-else? You might be giving some of these candidates a pass.
It's really just to make the point that you will need to write real code and answer technical questions in this process. And it provides an easy way to for them to drop out if they decide they don't want to do that.
Well put. I appreciate your clarifications.