Epic interview question

Online assessment coding problem