Pregunta de entrevista de Cadence Design Systems

C++ language knowledge Algorithm from leetcode