Pergunta de entrevista da empresa Atlassian

standard leet code (medium difficulty)