My question was about tree in C++: Given a tree(single linked), in which each node had an integer value and multiple descendants, I was asked to calculate the number of the nodes whose value was as same as all of its descendants.
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Buscas de vagas
Comece a buscar vagas para receber atualizações e recomendações personalizadas.
Pergunta de entrevista da empresa Google: My question was about tree in C++: Given a tree(single linked), in which each node had an integer value and multiple descendants, I was asked to calculate the number of the nodes whose value was as same as all of its descendants. | Glassdoor