Pregunta de entrevista de Intel Corporation

Leetcode questions medium and hard difficulty