CVS Health interview question

Domain knowledge & coding exercise