Pregunta de entrevista de Polynomial.Ai

some long but easy dsa problem; then the full stack assignment;