...

/

DIY: Serialize and Deserialize Binary Tree

DIY: Serialize and Deserialize Binary Tree

Solve the interview question "Serialize and Deserialize Binary Tree" in this lesson.

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
...
Access this course and 1400+ top-rated courses and projects.