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.
maybe it was an online pre-interview question that you get to solve at home within a given timeframe?