Pregunta de entrevista de Walt Disney Company

Leetcode DSA style interveiw question