Veeva Systems interview question

Construct a binary tree from a string.