@@ -0,0 +1,860 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/serialize-and-deserialize-binary-tree/%0A */%0Apublic class Problem297 %7B%0A    public static class TreeNode %7B%0A        int val;%0A        TreeNode left;%0A        TreeNode right;%0A%0A        TreeNode(int x) %7B%0A            val = x;%0A        %7D%0A    %7D%0A%0A    public static class Codec %7B%0A        // Encodes a tree to a single string.%0A        public String serialize(TreeNode root) %7B%0A            return %22%22;%0A        %7D%0A%0A        // Decodes your encoded data to tree.%0A        public TreeNode deserialize(String data) %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Codec codec = new Codec();%0A        TreeNode root = new TreeNode(1);%0A        String serializedTree = codec.serialize(root);%0A        System.out.println(serializedTree);%0A        codec.deserialize(serializedTree);%0A    %7D%0A%7D%0A

Create a skeleton for problem 297