Junior Manager Interview Questions

20,353 junior manager interview questions shared by candidates

Code an algorithm for printing the pre-order traversal of a binary search tree (both pre-order traversal and binary search tree explained in interview if you don't know). Now do it without using recursion. What are the benefits of the recursive method? Why might you use the other non-recursive method?
avatar

Junior Software Developer

Interviewed at Wishabi

3.2
Mar 27, 2014

Code an algorithm for printing the pre-order traversal of a binary search tree (both pre-order traversal and binary search tree explained in interview if you don't know). Now do it without using recursion. What are the benefits of the recursive method? Why might you use the other non-recursive method?

Viewing 4471 - 4480 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 20,353 interview questions and reports from Junior manager interviews. Prepare for your interview. Get hired. Love your job.