Pregunta de entrevista de Cognizant

Basic Questions about tree and graph