Question d’entretien chez Bloomberg

Was asked a stack based Algo and a backtracking question.