Fiz uma entrevista na empresa Amazon Web Services.
Entrevista
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.
Perguntas de entrevista [1]
Pergunta 1
Asked to write function to cut all the nodes with one child.