Engineer Developer Interview Questions

467,468 engineer developer interview questions shared by candidates

You are given a random binary tree 5 / \ 4 9 / \ / \ 3 5 6 8 Write code to print it out in order level ie 5 4 9 3 5 6 8 The tree need not be balanced. Write all the datastructures for the tree and make sure that you print newlines after each level. Also write test cases to test your code.
avatar

Software Engineer

Interviewed at Google

4.4
Jun 9, 2011

You are given a random binary tree 5 / \ 4 9 / \ / \ 3 5 6 8 Write code to print it out in order level ie 5 4 9 3 5 6 8 The tree need not be balanced. Write all the datastructures for the tree and make sure that you print newlines after each level. Also write test cases to test your code.

Viewing 1201 - 1210 interview questions

Glassdoor has 467,468 interview questions and reports from Engineer developer interviews. Prepare for your interview. Get hired. Love your job.