Back to QuestionsPractice with This Question
Serialize and Deserialize Binary Tree
107.9K views•Asked at Google•
Hard
Question Explain
Design an algorithm to serialize (convert to a string) and deserialize (convert the string back to the tree) a binary tree.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.