Epic interview question

As in the online programming problems