Pregunta de entrevista de Influitive

LC easy/medium: trees, linked lists, arrays, DP