leetcode/src/main/java/com/my/Codec.java
// Decodes your encoded data to tree.
Decodes your encoded data to tree.
Decodes your encoded data to tree .
public TreeNode deserialize(String data) {
        String[] ss = data.split(",");
        List<String> linkedSS = new LinkedList<String>(Arrays.asList(ss));
        return deCode(linkedSS);
    }
public TreeNode deserialize ( String data ) { String [ ] ss = data . split ( "," ) ; List < String > linkedSS = new LinkedList < String > ( Arrays . asList ( ss ) ) ; return deCode ( linkedSS ) ; }
Decodes your encoded data to tree.
Decodes your encoded data to tree .