IBM Interview Question

tree and graph coding questions