Epic Interview Question

Don't difficult to code.