Question d’entretien chez Palantir Technologies

solved a dfs problem in karat