Question d’entretien chez Layer6 AI

Leetcode, implement a class with several functions.