Question d’entretien chez Toptal

A hardened version hard question in leetcode