Amazon Interview Question

Q1 Serialization and deserialization of binary tree.

Interview Answer

Anonymous

Sep 6, 2021

As questions 1 was serialization and desrialization of binary tree I first tell him the approach using two arrays for preorder and inorder. then i gave approach using one array .