Pregunta de entrevista de Blackbaud

Technical question is designing a function , not difficult.