screening > live coding
Asked to write function to cut all the nodes with one child.
Task was in notepad. Spent most of the time trying to re-create tree with slashes and spaces, because interviewer refused to clarify the task.
Preguntas de entrevista [1]
Pregunta 1
Asked to write function to cut all the nodes with one child.