So...if he had gotten the code right, he would have taken this job and his current job? Because that's the only way his five lines of code are worth $20,000 apiece.
The most surprising thing in the article, really, is that he managed to have thirty interviews without having an experience like this.