Question d’entretien chez Okta

It is a LeetCode medium question