Leetcode Construct Binary Tree From String To Boolean