Veeva Systems Interview Question

Algorithm question. Simple calendar based question with Java.