Huge Interview Question

Had to do a design exercise