Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 10
How do you serialize and deserialize a binary tree?
A
Pre-order traversal with null markers (e.g. "1,2,#,#,3,#,#"), rebuilt recursively in the same order
B
Storing only leaf values
C
Level sizes only
D
In-order traversal alone