Pergunta de entrevista da empresa DXC Technology

Introduction, then one coding question(medium-hard)