Crothall Healthcare interview question

Fairly straightforward