How would you print out the data in a binary tree, level by
level, starting at the top?
Answer Posted / janraj cj
Use Breadth First search algorithm. This is using queue
as the data structure .
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
Is sizeof a keyword in c?
Differentiate between Macro and ordinary definition.
What is the use of #include in c?
How many keywords are there in c?
What is function prototype in c with example?
What is malloc() function?
Is swift based on c?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What is the size of a union variable?
What are the disadvantages of external storage class?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
what is recursion in C
What is the use of define in c?
What is an lvalue?