LeetCode
Construct Binary Tree from String
Click
here
for an explanation.