Pregunta de entrevista de Sprinter Health

They asked two list-related leetcode questions