Veeva Systems interview question

Algorithm question. Simple calendar based question with Java.