I think it’s all just a joke or satire where he’s technically very talented and optimizing the code ad absurdum which goes well beyond what the interviewer expected. This is slightly nuanced, but it also shows how inadequate the technical interview is for finding top talent because of the subjectivity involved.