TreeNode getNode(String s){
        if(s.equals("null"))return null;
        return new TreeNode(Integer.parseInt(s));
    }
First we make TreeNode array and set set created TreeNode or null values to T array.
then we set left and right children of non-null values of T array.
src/problems/hard/SerializeAndDeserializeBT.java