I wonder if you have to sign an NDA to be asked the questions? IMO these cutesy interview questions have gone over the top and I think I'm going to use this as my proof.
Not to mention that a NDA only provides a way to attack the person who signed it, and has no effect on anybody else even if they further spread the information.
It seems highly unlikely that even if there was source code, the candidate would be able to remember it with a high enough level of detail to warrant this.
https://github.com/github/dmca/blob/05885612f96982a7e4062a13...