Pergunta de entrevista da empresa Cadence Design Systems

the famous 5 pirates problem