Epic Interview Question

Completing the logic testing-- particularly the coding aspect.