Pergunta de entrevista da empresa Moveworks

One broad system design question, two coding exercises