Pregunta de entrevista de Principal Financial Group

how would you implement x. Use any language