Pregunta de entrevista de Crypto.com

How would you solve xyz problem