Skip to content

Commit 813f54e

Browse files
refactor 449
1 parent cfc7f83 commit 813f54e

File tree

1 file changed

+0
-16
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-16
lines changed

src/main/java/com/fishercoder/solutions/_449.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
import java.util.LinkedList;
66
import java.util.Queue;
77

8-
/**
9-
* 449. Serialize and Deserialize BST
10-
*
11-
* Serialization is the process of converting a data structure or
12-
* object into a sequence of bits so that it can be stored in a file or memory buffer,
13-
* or transmitted across a network connection link to be reconstructed later in the same or another computer environment.
14-
*
15-
* Design an algorithm to serialize and deserialize a binary search tree.
16-
* There is no restriction on how your serialization/deserialization algorithm should work.
17-
* You just need to ensure that a binary search tree can be serialized to a string and this
18-
* string can be deserialized to the original tree structure.
19-
* The encoded string should be as compact as possible.
20-
21-
Note: Do not use class member/global/static variables to store states. Your serialize and deserialize algorithms should be stateless.
22-
*/
23-
248
public class _449 {
259

2610
public static class Solution1 {

0 commit comments

Comments
 (0)