Software Engineer C Interview Questions

665,683 software engineer c 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 1411 - 1420 interview questions

Glassdoor has 665,683 interview questions and reports from Software engineer c interviews. Prepare for your interview. Get hired. Love your job.