Pregunta de entrevista de UnitedHealth Group

How would you apply this coding question situation (from Codility) into a medical setting?