Tagged Questions
24
votes
5answers
1k views
Programming interview question on Trees
I was asked this interview question at a top internet website company recently and I kinda was stumped by it.
Certain empty glasses of water are arranged in the following order
When you pour ...
4
votes
2answers
295 views
Is this the right strategy to convert an in-level order binary tree to a doubly linked list?
So I recently came across this question - Make a function that converts a in-level-order binary tree into a doubly linked list. Apparently, it's a common interview question.
This is the strategy I ...