DIY: Serialize and Deserialize Binary Tree
We'll cover the following
Problem statement
For this challenge, you are given a binary tree, and you have to implement two functions:
serializer()
, This will serialize a binary tree into string.deserializer()
, This will deserialize the string into a binary tree.
There are no restrictions on how your ...
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Devpath's Terms of Service and Privacy Policy