Meta interview question

Convert a string to binary tree representation