Serialize and deserialize a binary tree.
Anonymous
I did not solve the problem, as we ran out of time. Instead we spent more time discussing it and managed to come up with a plan as to how it can be solved after receiving quite a bit of help from the interviewer.
Check out your Company Bowl for anonymous work chats.