Pergunta de entrevista da empresa Xtrades

How would you architect this?