I’m a former CTO. Here is the 15 sec coding test I used to instantly filter out 50% of unqualified applicants

71 points by WilhelmVonWeiner


mtlynch

This is a dumb and illegal test.

tl; dr: He shows candidates a 6-line Python code snippet and asks them the result, but the code snippet has a = operator that doesn't appear visually but is included when you copy/paste the code snippet (it has an inline style attribute of opacity: 0; font-size: 1px). So, the visually rendered code produces one result and the actual code produces another. The author considers the visually rendered code to be correct and the actual code to be incorrect.

In the US, this interview question would be illegal, as it causes non-sighted readers to "fail." Author's company was based in Canada, and I don't know accessibility laws there, but I'm guessing illegal there as well.