Work in HR or Recruiting?
Symantec
www.symantec.com Mountain View, CA 5000+ Employees
Work in HR? Complete Your Profile

58 interview experiences Back to all Symantec Interview Questions & Reviews

Interview Question for Software Engineer at Symantec:
Jul 10, 2011

print out nodes of a binary tree by levels. i.e., all nodes on level 1, then all nodes on level 1, then all nodes on level 2, etc.


Tags: binary tree, traversal, breath first search
Add Tags [?]

See more for this Symantec Software Engineer Interview

Helpful Question?  
Yes | No
Inappropriate?

Answers & Comments (1)

Jul 10, 2011

by Interview Candidate:

use a queue to traverse the tree using breath first search
Helpful Answer?  
Yes | No
Inappropriate?

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.