We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fea3e67 commit c94b20fCopy full SHA for c94b20f
src/test/java/com/thealgorithms/datastructures/trees/SerializeaBinaryTree.java
@@ -132,6 +132,7 @@ public static void main(String[] args) {
132
// Deserialize the string back to a binary tree
133
TreeNode deserializedRoot = serializer.deserialize(serializedTree);
134
System.out.println("Tree deserialized successfully. Root value: " + deserializedRoot.val);
135
+ // Expected output: Root value should be 1
136
}
137
138
0 commit comments