ezCater interview question

Solve a random college-level coding problem.